Modified to have standalone func instead of ping
This commit is contained in:
parent
93fff5ff2e
commit
df4fe31ec9
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue