Reverse Change

This commit is contained in:
Ben Toogood 2020-04-03 09:34:52 +01:00
parent fdcb013f24
commit 760233b858

View File

@ -325,7 +325,7 @@ func (r *registryRouter) Endpoint(req *http.Request) (*api.Service, error) {
} }
// no match // no match
return nil, registry.ErrNotFound return nil, errors.New("not found")
} }
func (r *registryRouter) Route(req *http.Request) (*api.Service, error) { func (r *registryRouter) Route(req *http.Request) (*api.Service, error) {