Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bzp2010 committed Dec 29, 2023
1 parent 09e520d commit 8bbd135
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apisix/cli/ops.lua
Original file line number Diff line number Diff line change
Expand Up @@ -158,15 +158,15 @@ local function cleanup_unix_sockets(env)
if pl_path.exists(events_http_sock_path) then
local ok, err = os_remove(events_http_sock_path)
if not ok then
util.die("failed to remove stale conf server sock file, error: ", err)
util.die("failed to remove stale worker events sock file, error: ", err)
end
end

local events_stream_sock_path = env.apisix_home .. "/conf/stream_worker_events.sock"
if pl_path.exists(events_stream_sock_path) then
local ok, err = os_remove(events_stream_sock_path)
if not ok then
util.die("failed to remove stale conf server sock file, error: ", err)
util.die("failed to remove stale stream worker events sock file, error: ", err)
end
end
end
Expand Down

0 comments on commit 8bbd135

Please sign in to comment.