From 3c9692170316ee0362a42859c596c1e61f4e88e1 Mon Sep 17 00:00:00 2001 From: mountain Date: Thu, 25 Jul 2024 16:10:09 +0900 Subject: [PATCH] =?UTF-8?q?autorun=20=ED=8F=AC=EB=A7=B7=20=EC=98=A4?= =?UTF-8?q?=EB=A5=98=EC=8B=9C=20=EB=8C=80=EC=9D=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/client.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/client.go b/client/client.go index 27f4554..d69e918 100644 --- a/client/client.go +++ b/client/client.go @@ -586,7 +586,9 @@ func (hc *houstonClient) checkOperation(client *grpc.ClientConn) error { count := 1 if len(hascount) > 1 { service = hascount[0] - count, _ = strconv.Atoi(hascount[1]) + if len(hascount[1]) > 0 { + count, _ = strconv.Atoi(hascount[1]) + } } else { service = *autorun }