Skip to content
Snippets Groups Projects
Commit 78837c5a authored by vito.he's avatar vito.he
Browse files

Mod:comment to delete

parent 41fa6f5d
No related branches found
No related tags found
No related merge requests found
......@@ -262,7 +262,6 @@ func (r *zkRegistry) register(c common.URL) error {
err error
//revision string
params url.Values
urlPath string
rawURL string
encodedURL string
dubboPath string
......@@ -320,12 +319,7 @@ func (r *zkRegistry) register(c common.URL) error {
host = c.Ip + ":" + c.Port
}
urlPath = c.Path
//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())
rawURL = fmt.Sprintf("%s://%s%s?%s", c.Protocol, host, c.Path, params.Encode())
encodedURL = url.QueryEscape(rawURL)
// 把自己注册service providers
......
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