Skip to content

Commit

Permalink
fix: apisix restart failed use sleep method(#10495)
Browse files Browse the repository at this point in the history
Signed-off-by: wuhanqing <hanqingwu@126.com>
  • Loading branch information
hanqingwu committed Dec 22, 2023
1 parent 3251695 commit cf91b44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apisix/cli/ops.lua
Original file line number Diff line number Diff line change
Expand Up @@ -916,7 +916,7 @@ local function stop(env)
end


function sleep(n)
local function sleep(n)
os.execute("sleep " .. tonumber(n))
end

Expand Down

0 comments on commit cf91b44

Please sign in to comment.