@ -203,7 +203,7 @@ func (d *ConsulDiscovery) watch() {
continue
}
for _, p := range ps {
if !strings.HasPrefix(p.Key, prefix) { // avoid prefix issue of consul List
if path.Dir(p.Key) != d.basePath {
k := strings.TrimPrefix(p.Key, prefix)