diff --git a/static.go b/static.go index 28211c5..0030c3f 100644 --- a/static.go +++ b/static.go @@ -44,7 +44,7 @@ func (s *static) Table() router.Table { func (s *static) Lookup(service string, opts ...router.LookupOption) ([]router.Route, error) { options := router.NewLookup(opts...) - _, _ , err := net.SplitHostPort(service) + _, _, err := net.SplitHostPort(service) if err == nil { // use the address options.Address = service