diff --git a/kong/runloop/events.lua b/kong/runloop/events.lua index ab982cf1fae2..19b4a0cea3f0 100644 --- a/kong/runloop/events.lua +++ b/kong/runloop/events.lua @@ -320,7 +320,7 @@ local function crud_wasm_handler(data, schema_name) -- cache is invalidated on service/route deletion to ensure we don't -- have oprhaned filter chain data cached - elseif schema_name == "services" or schema_name == "routes" + elseif schema_name == "services" or schema_name == "routes" then updated = data.operation == "delete" -- invalidate for changes to wasm filter plugin entities