Authored by chunhua.zhang

no message

@@ -45,7 +45,7 @@ function do_degrade() @@ -45,7 +45,7 @@ function do_degrade()
45 45
46 if limit_ip_config and limit_ip_config.degrades and limit_ip_config.degrades[method] then 46 if limit_ip_config and limit_ip_config.degrades and limit_ip_config.degrades[method] then
47 ngx.log(ngx.ERR, "[Degraded]: ", method) 47 ngx.log(ngx.ERR, "[Degraded]: ", method)
48 - for k, v in pairs(limit_ip_access.degrades) do 48 + for k, v in pairs(limit_ip_config.degrades) do
49 print(k) 49 print(k)
50 print(v) 50 print(v)
51 end 51 end