Skip to content
Snippets Groups Projects
Commit a8a0299e authored by AlexStocks's avatar AlexStocks
Browse files

cp from pr #1129

parent 8a65bdf2
No related branches found
Tags 1.5.6
No related merge requests found
......@@ -79,6 +79,7 @@ func newZkRegistry(url *common.URL) (registry.Registry, error) {
return nil, err
}
r.WaitGroup().Add(1) //zk client start successful, then wg +1
go zookeeper.HandleClientRestart(r)
r.listener = zookeeper.NewZkEventListener(r.client)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment