From 7016240bbb26b4169b5bc5042fd03685a727ba56 Mon Sep 17 00:00:00 2001 From: Vasiliy Tolstov Date: Fri, 28 Jun 2019 13:45:30 +0300 Subject: [PATCH] cleanup go.mod (#365) * fix all tests Signed-off-by: Vasiliy Tolstov --- http.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }