Skip to content

Commit

Permalink
useless local variable
Browse files Browse the repository at this point in the history
  • Loading branch information
RealLiuSha authored Jul 3, 2018
1 parent 05c1bce commit d31d09a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/resty/checkups/api.lua
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,6 @@ local function gen_upstream(skey, upstream)
end

-- check servers
local ok
for level, cls in pairs(ups.cluster) do
if type(cls) ~= "table" or not next(cls) then
return nil, "can not update empty level"
Expand Down

0 comments on commit d31d09a

Please sign in to comment.