diff --git a/examples/influxdb/main.go b/examples/influxdb/main.go index 065a5a2..c2da7e9 100644 --- a/examples/influxdb/main.go +++ b/examples/influxdb/main.go @@ -130,7 +130,7 @@ func ProcessArgs(cfg interface{}) Args { func InitDB(conf Config) (client.Client, error) { - c := client.NewClient("http://localhost:8086", fmt.Sprintf("%s:%s", "admin", "admin")) + c := client.NewClient("http://influxdb:8086", fmt.Sprintf("%s:%s", "admin", "admin")) return c, nil