From b84736e9b6401df0c6eeab9950bef09458a6aefd Mon Sep 17 00:00:00 2001 From: Christopher Speller Date: Fri, 29 Sep 2017 12:46:30 -0700 Subject: Updating server dependancies. (#7538) --- vendor/gopkg.in/olivere/elastic.v5/client.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'vendor/gopkg.in/olivere/elastic.v5/client.go') diff --git a/vendor/gopkg.in/olivere/elastic.v5/client.go b/vendor/gopkg.in/olivere/elastic.v5/client.go index e517a7fa8..13b45d831 100644 --- a/vendor/gopkg.in/olivere/elastic.v5/client.go +++ b/vendor/gopkg.in/olivere/elastic.v5/client.go @@ -26,7 +26,7 @@ import ( const ( // Version is the current version of Elastic. - Version = "5.0.45" + Version = "5.0.48" // DefaultURL is the default endpoint of Elasticsearch on the local machine. // It is used e.g. when initializing a new Client without a specific URL. @@ -1059,7 +1059,6 @@ func (c *Client) healthcheck(timeout time.Duration, force bool) { case <-ctx.Done(): // timeout c.errorf("elastic: %s is dead", conn.URL()) conn.MarkAsDead() - break case err := <-errc: if err != nil { c.errorf("elastic: %s is dead", conn.URL()) @@ -1072,7 +1071,6 @@ func (c *Client) healthcheck(timeout time.Duration, force bool) { conn.MarkAsDead() c.errorf("elastic: %s is dead [status=%d]", conn.URL(), status) } - break } } } -- cgit v1.2.3-1-g7c22