registry: set noop as default registry

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
Василий Толстов 2020-08-29 17:44:04 +03:00
parent 24c20b6907
commit 2382446e10

View File

@ -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