diff --git a/http.go b/http.go index eff8966..4af6686 100644 --- a/http.go +++ b/http.go @@ -38,7 +38,7 @@ func (h *httpClient) next(request client.Request, opts client.CallOptions) (sele if len(opts.Address) > 0 { return func() (*registry.Node, error) { return ®istry.Node{ - Address: opts.Address, + Address: opts.Address[0], }, nil }, nil }