From df4fe31ec971eb768d76d947b8c2816d53fc2aea Mon Sep 17 00:00:00 2001 From: Len Smith Date: Sun, 8 Jan 2017 10:17:49 -0600 Subject: [PATCH] Modified to have standalone func instead of ping --- plugins/outputs/influxdb/influxdb.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/outputs/influxdb/influxdb.go b/plugins/outputs/influxdb/influxdb.go index 059f126d6..3b5e55ed2 100644 --- a/plugins/outputs/influxdb/influxdb.go +++ b/plugins/outputs/influxdb/influxdb.go @@ -133,7 +133,7 @@ func (i *InfluxDB) Connect() error { } if i.InsecureFollowRedirect { - c.Ping(10) + c.CheckHTTPRedirect() } err = createDatabase(c, i.Database)