mirror of
https://github.com/go-micro/go-micro.git
synced 2025-01-29 18:04:17 +02:00
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
|
||||
return nil, registry.ErrNotFound
|
||||
return nil, errors.New("not found")
|
||||
}
|
||||
|
||||
func (r *registryRouter) Route(req *http.Request) (*api.Service, error) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user