Skip to content

Commit

Permalink
chore(wasm/conf): remove warn on wasm=off
Browse files Browse the repository at this point in the history
Remove warning when `wasm=off` and Wasm directives are set. The team
agrees such a warning does not provide much value as the user may toggle
Wasm on and off temporarily for testing.
  • Loading branch information
gszr committed Jul 19, 2023
1 parent c777ce3 commit 9942c71
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions kong/conf_loader/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -714,14 +714,6 @@ local function validate_wasm(conf)
if filters_path and not exists(filters_path) and not isdir(filters_path) then
return nil, fmt("wasm_filters_path '%s' is not a valid directory", filters_path)
end
else
for cfg in pairs(conf) do
local wasm_cfg = match(cfg, "wasm_(.+)")
if wasm_cfg then
log.warn("wasm is disabled but ", wasm_cfg,
" property is used, please check your configuration.")
end
end
end

return true
Expand Down

1 comment on commit 9942c71

@khcp-gha-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bazel Build

Docker image available kong/kong:9942c712c6334546774094187cd57a5250060917
Artifacts available https://github.com/Kong/kong/actions/runs/5604971777

Please sign in to comment.