diff --git a/registry/zookeeper/registry.go b/registry/zookeeper/registry.go index ebd63694b7772715c1f6140b12389bfa526d21c6..bc815c3ae0eaf1b5700d0e9d613e3189d64a2da2 100644 --- a/registry/zookeeper/registry.go +++ b/registry/zookeeper/registry.go @@ -304,7 +304,6 @@ func (r *zkRegistry) register(c common.URL) error { if c.Path == "" || len(c.Methods) == 0 { return perrors.Errorf("conf{Path:%s, Methods:%s}", c.Path, c.Methods) } - // 鍏堝垱寤烘湇鍔′笅闈㈢殑provider node dubboPath = fmt.Sprintf("/dubbo/%s/%s", r.service(c), common.DubboNodes[common.PROVIDER]) r.cltLock.Lock() err = r.client.Create(dubboPath)