Reverse Change
This commit is contained in:
parent
fdcb013f24
commit
760233b858
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user