Miss-you commented on a change in pull request #3824:
URL: https://github.com/apache/apisix/pull/3824#discussion_r601370820
##########
File path: apisix/plugins/limit-count/limit-count-redis.lua
##########
@@ -33,8 +35,12 @@ local mt = {
function _M.new(plugin_name, limit, window, conf)
assert(limit > 0 and window > 0)
- local self = {limit = limit, window = window, conf = conf,
- plugin_name = plugin_name}
+ local self = {
+ limit = limit,
+ window = window,
+ conf = conf,
+ plugin_name = plugin_name
Review comment:
get
##########
File path: apisix/plugins/limit-count/limit-count-redis-cluster.lua
##########
@@ -65,8 +68,11 @@ function _M.new(plugin_name, limit, window, conf)
end
local self = {
- limit = limit, window = window, conf = conf,
- plugin_name = plugin_name, red_cli =red_cli
+ limit = limit,
+ window = window,
+ conf = conf,
+ plugin_name = plugin_name,
+ red_cli =red_cli
Review comment:
ok
##########
File path: apisix/plugins/limit-count/limit-count-redis-cluster.lua
##########
@@ -46,7 +46,10 @@ local function new_redis_cluster(conf)
.. " err: " .. err
end
- config.serv_list[i] = {ip = host, port = port}
+ config.serv_list[i] = {
+ ip = host,
+ port = port
Review comment:
ok
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]