From 3eb126af4dc8dde4fe794b17e1daf0cef5a525ad Mon Sep 17 00:00:00 2001 From: Brian Waldon Date: Fri, 31 Oct 2014 10:46:34 -0700 Subject: [PATCH] client: use httpActionDo in httpClusterClient --- client/cluster.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/cluster.go b/client/cluster.go index 3925d65d1..3780f353e 100644 --- a/client/cluster.go +++ b/client/cluster.go @@ -25,7 +25,7 @@ import ( func newHTTPClusterClient(tr *http.Transport, eps []string) (*httpClusterClient, error) { c := httpClusterClient{ - endpoints: make([]*httpClient, len(eps)), + endpoints: make([]httpActionDo, len(eps)), } for i, ep := range eps { @@ -44,7 +44,7 @@ func newHTTPClusterClient(tr *http.Transport, eps []string) (*httpClusterClient, } type httpClusterClient struct { - endpoints []*httpClient + endpoints []httpActionDo } func (c *httpClusterClient) do(ctx context.Context, act httpAction) (*http.Response, []byte, error) {