Fix breaks and go fmt

This commit is contained in:
Asim Aslam
2019-07-10 07:47:17 +01:00
parent 0a1b657221
commit 64ec0633a3
11 changed files with 11 additions and 11 deletions

View File

@@ -106,7 +106,7 @@ func (p *Proxy) getRoute(service string) ([]string, error) {
// in future we might set a default gateway
if p.Router != nil {
// lookup the router
routes, err := p.Router.Table().Lookup(
routes, err := p.Router.Lookup(
table.NewQuery(table.QueryService(service)),
)
if err != nil {