Error as link not found

This commit is contained in:
Asim Aslam 2019-08-23 14:09:57 +01:00
parent b7f510ff64
commit 934b8eb86d

View File

@ -99,7 +99,7 @@ func (p *Proxy) getLink(r router.Route) (client.Client, error) {
}
l, ok := p.Links[r.Link]
if !ok {
return nil, errors.InternalServerError("go.micro.proxy", "route not found")
return nil, errors.InternalServerError("go.micro.proxy", "link not found")
}
return l, nil
}