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