diff --git a/api/router/registry/registry.go b/api/router/registry/registry.go index c024424f..375aa7d0 100644 --- a/api/router/registry/registry.go +++ b/api/router/registry/registry.go @@ -325,7 +325,7 @@ func (r *registryRouter) Endpoint(req *http.Request) (*api.Service, error) { } // no match - return nil, registry.ErrNotFound + return nil, errors.New("not found") } func (r *registryRouter) Route(req *http.Request) (*api.Service, error) {