1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-06-06 22:06:19 +02:00

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) {