mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-25 12:43:09 +00:00
bugfix: typo
This commit is contained in:
@@ -132,7 +132,7 @@ local function monitor_harbor(master_fd)
|
|||||||
if t == "Q" then
|
if t == "Q" then
|
||||||
-- query name
|
-- query name
|
||||||
if globalname[arg] then
|
if globalname[arg] then
|
||||||
skynet.redirect(harbor_service, globalname[arg], "harbor", "N " .. arg)
|
skynet.redirect(harbor_service, globalname[arg], "harbor", 0, "N " .. arg)
|
||||||
else
|
else
|
||||||
socket.write(master_fd, pack_package("Q", arg))
|
socket.write(master_fd, pack_package("Q", arg))
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user