justxuewei commented on a change in pull request #1589:
URL: https://github.com/apache/dubbo-go/pull/1589#discussion_r751873188
##########
File path: config_center/zookeeper/impl.go
##########
@@ -80,15 +81,20 @@ func newZookeeperDynamicConfiguration(url *common.URL)
(*zookeeperDynamicConfigu
logger.Errorf("zookeeper client start error ,error message is
%v", err)
return nil, err
}
+ err = c.client.Create(c.rootPath)
+ if err != nil && err != zk.ErrNodeExists {
Review comment:
errors.Is
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]