diff --git a/etcd_registry.go b/etcd_registry.go index 09b0d4c..d9d504c 100644 --- a/etcd_registry.go +++ b/etcd_registry.go @@ -109,6 +109,7 @@ func NewEtcdRegistryWithRetry(endpoints []string, retryConfig *retry.Config, opt leaseTTL: getTTL(), retryConfig: retryConfig, stop: make(chan struct{}, 1), + prefix: cfg.Prefix, }, nil }