test conn

This commit is contained in:
wangchuxiao
2023-06-20 20:50:15 +08:00
parent ce16ce0aba
commit 84afa86db2
6 changed files with 20 additions and 91 deletions
+1 -1
View File
@@ -113,7 +113,7 @@ func NewClient(zkServers []string, zkRoot string, options ...ZkOption) (*ZkClien
client.CloseZK()
return nil, err
}
// resolver.Register(client)
resolver.Register(client)
var wg sync.WaitGroup
go client.refresh(&wg)
go client.watch(&wg)