Fix web registry compatability bugs

This commit is contained in:
Ben Toogood
2020-04-03 09:18:30 +01:00
parent 8b35c264eb
commit fdcb013f24
3 changed files with 17 additions and 3 deletions

View File

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