Modified to have standalone func instead of ping

This commit is contained in:
Len Smith 2017-01-08 10:17:49 -06:00
parent 93fff5ff2e
commit df4fe31ec9
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ func (i *InfluxDB) Connect() error {
} }
if i.InsecureFollowRedirect { if i.InsecureFollowRedirect {
c.Ping(10) c.CheckHTTPRedirect()
} }
err = createDatabase(c, i.Database) err = createDatabase(c, i.Database)