chore: remove redundant semicolons (#6581)

This commit is contained in:
帅进超 2022-03-15 09:10:42 +08:00 committed by GitHub
parent b8495f81a3
commit 530fb4d62c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 10 additions and 10 deletions

View File

@ -153,7 +153,7 @@ function _M.patch(id, conf, sub_path)
end
utils.inject_timestamp(node_value, nil, true)
else
node_value = core.table.merge(node_value, conf);
node_value = core.table.merge(node_value, conf)
utils.inject_timestamp(node_value, nil, conf)
end

View File

@ -170,7 +170,7 @@ function _M.patch(id, conf, sub_path)
end
utils.inject_timestamp(node_value, nil, true)
else
node_value = core.table.merge(node_value, conf);
node_value = core.table.merge(node_value, conf)
utils.inject_timestamp(node_value, nil, conf)
end

View File

@ -285,7 +285,7 @@ function _M.patch(id, conf, sub_path, args)
end
utils.inject_timestamp(node_value, nil, true)
else
node_value = core.table.merge(node_value, conf);
node_value = core.table.merge(node_value, conf)
utils.inject_timestamp(node_value, nil, conf)
end

View File

@ -238,7 +238,7 @@ function _M.patch(id, conf, sub_path)
end
utils.inject_timestamp(node_value, nil, true)
else
node_value = core.table.merge(node_value, conf);
node_value = core.table.merge(node_value, conf)
utils.inject_timestamp(node_value, nil, conf)
end

View File

@ -215,7 +215,7 @@ function _M.patch(id, conf, sub_path)
end
end
node_value = core.table.merge(node_value, conf);
node_value = core.table.merge(node_value, conf)
utils.inject_timestamp(node_value, nil, conf)
end

View File

@ -204,7 +204,7 @@ function _M.patch(id, conf, sub_path)
end
utils.inject_timestamp(new_value, nil, true)
else
new_value = core.table.merge(new_value, conf);
new_value = core.table.merge(new_value, conf)
utils.inject_timestamp(new_value, nil, conf)
end

View File

@ -43,7 +43,7 @@ local function fetch_chash_hash_key(ctx, upstream)
chash_key = ctx.var["cookie_" .. key]
elseif hash_on == "vars_combinations" then
local err, n_resolved
chash_key, err, n_resolved = core.utils.resolve_var(key, ctx.var);
chash_key, err, n_resolved = core.utils.resolve_var(key, ctx.var)
if err then
core.log.error("could not resolve vars in ", key, " error: ", err)
end

View File

@ -51,7 +51,7 @@ function _M.increase(conf, ctx)
local key
if conf.key_type == "var_combination" then
local err, n_resolved
key, err, n_resolved = core.utils.resolve_var(conf_key, ctx.var);
key, err, n_resolved = core.utils.resolve_var(conf_key, ctx.var)
if err then
core.log.error("could not resolve vars in ", conf_key, " error: ", err)
end

View File

@ -222,7 +222,7 @@ function _M.access(conf, ctx)
local key
if conf.key_type == "var_combination" then
local err, n_resolved
key, err, n_resolved = core.utils.resolve_var(conf_key, ctx.var);
key, err, n_resolved = core.utils.resolve_var(conf_key, ctx.var)
if err then
core.log.error("could not resolve vars in ", conf_key, " error: ", err)
end

View File

@ -88,7 +88,7 @@ function _M.access(conf, ctx)
local key
if conf.key_type == "var_combination" then
local err, n_resolved
key, err, n_resolved = core.utils.resolve_var(conf_key, ctx.var);
key, err, n_resolved = core.utils.resolve_var(conf_key, ctx.var)
if err then
core.log.error("could not resolve vars in ", conf_key, " error: ", err)
end