mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-22 02:53:09 +00:00
fix typo
This commit is contained in:
@@ -157,7 +157,7 @@ local function connect_backup(self)
|
||||
if self.__backup then
|
||||
for _, addr in ipairs(self.__backup) do
|
||||
local host, port
|
||||
if type(host) == "table" then
|
||||
if type(addr) == "table" then
|
||||
host, port = addr.host, addr.port
|
||||
else
|
||||
host = addr
|
||||
|
||||
Reference in New Issue
Block a user