fix metrics.lua

This commit is contained in:
Eugenio Marzo
2021-01-24 20:39:42 +01:00
parent 8de714fd58
commit fb366946ba

View File

@@ -63,7 +63,7 @@ if okredis then
end
else
ngx.log(ngx.ERR, "Connection to Redis is not ok. REDIS_URL is " .. os.getenv("REDIS_URL"))
ngx.log(ngx.ERR, "Connection to Redis is not ok. REDIS_HOST is " .. os.getenv("REDIS_HOST"))
ngx.log(ngx.ERR, errredis)
end