diff --git a/registry/registry.go b/registry/registry.go index a97442c2..11e9f926 100644 --- a/registry/registry.go +++ b/registry/registry.go @@ -13,7 +13,7 @@ const ( ) var ( - DefaultRegistry Registry + DefaultRegistry Registry = NewRegistry() // ErrNotFound returned when GetService is called and no services found ErrNotFound = errors.New("service not found") // ErrWatcherStopped returned when when watcher is stopped