diff --git a/registry/zookeeper/registry.go b/registry/zookeeper/registry.go index 21a156bc694f3b85033c692252c90d55106f3103..689c7b1baf4e59185a0e77aca5019c18761d2150 100644 --- a/registry/zookeeper/registry.go +++ b/registry/zookeeper/registry.go @@ -321,10 +321,10 @@ func (r *zkRegistry) register(c common.URL) error { } urlPath = c.Path - if r.zkPath[urlPath] != 0 { - urlPath += strconv.Itoa(r.zkPath[urlPath]) - } - r.zkPath[urlPath]++ + //if r.zkPath[urlPath] != 0 { + // urlPath += strconv.Itoa(r.zkPath[urlPath]) + //} + //r.zkPath[urlPath]++ rawURL = fmt.Sprintf("%s://%s%s?%s", c.Protocol, host, urlPath, params.Encode()) encodedURL = url.QueryEscape(rawURL)