Error as link not found
This commit is contained in:
parent
b7f510ff64
commit
934b8eb86d
@ -99,7 +99,7 @@ func (p *Proxy) getLink(r router.Route) (client.Client, error) {
|
|||||||
}
|
}
|
||||||
l, ok := p.Links[r.Link]
|
l, ok := p.Links[r.Link]
|
||||||
if !ok {
|
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
|
return l, nil
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user