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 a55079f commit d2f6969
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

0 comments on commit d2f6969

Please sign in to comment.