From 62494fb052220484439341f7bcd18f7ab7ec12aa Mon Sep 17 00:00:00 2001 From: mountain Date: Thu, 15 Feb 2024 17:32:24 +0900 Subject: [PATCH] =?UTF-8?q?=EC=A3=BC=EC=86=8C=20=EC=9E=98=EB=AA=BB=20?= =?UTF-8?q?=EB=B3=B4=EB=83=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/operation.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/operation.go b/server/operation.go index b918002..ce8dd2c 100644 --- a/server/operation.go +++ b/server/operation.go @@ -104,7 +104,7 @@ func (sp *hostPool) regist(desc *protos.OperationQueryRequest) (string, chan *op address := net.JoinHostPort(prvip, "9100") if conn, _ := net.DialTimeout("tcp", address, 3*time.Second); conn != nil { conn.Close() - sp.exportChan <- "+" + prvip + sp.exportChan <- "+" + address return } } @@ -113,7 +113,7 @@ func (sp *hostPool) regist(desc *protos.OperationQueryRequest) (string, chan *op address := net.JoinHostPort(pubip, "9100") if conn, _ := net.DialTimeout("tcp", address, 3*time.Second); conn != nil { conn.Close() - sp.exportChan <- "+" + pubip + sp.exportChan <- "+" + address return } }