diff --git a/discovery/zookeeper/zookeeper.go b/discovery/zookeeper/zookeeper.go index 4902e23b3f..155f1285f3 100644 --- a/discovery/zookeeper/zookeeper.go +++ b/discovery/zookeeper/zookeeper.go @@ -124,7 +124,7 @@ func (s *ZkDiscoveryService) Watch(callback discovery.WatchCallback) { } func (s *ZkDiscoveryService) Register(addr string) error { - nodePath := "/" + path.Join(s.fullpath(), addr) + nodePath := path.Join(s.fullpath(), addr) // check existing for the parent path first exist, _, err := s.conn.Exists(s.fullpath())