rename cache variable

This commit is contained in:
alteredCoder 2022-01-05 18:33:41 +01:00
parent 2b8b18d556
commit 40ac6c59a7

View file

@ -30,7 +30,7 @@ function csmod.init(configFile, userAgent)
end
runtime.conf = conf
runtime.userAgent = userAgent
runtime.cache = ngx.shared.crowdsec
runtime.cache = ngx.shared.crowdsec_cache
-- if stream mode, add callback to stream_query and start timer
if runtime.conf["MODE"] == "stream" then