Fix influx.toml and ListTags string printing
This commit is contained in:
parent
ddf438dac0
commit
5cb3a096c1
|
@ -116,7 +116,7 @@ func main() {
|
||||||
log.Printf("Agent Config: Interval:%s, Debug:%#v, Hostname:%#v\n",
|
log.Printf("Agent Config: Interval:%s, Debug:%#v, Hostname:%#v\n",
|
||||||
ag.Interval, ag.Debug, ag.Hostname)
|
ag.Interval, ag.Debug, ag.Hostname)
|
||||||
}
|
}
|
||||||
log.Printf("Tags enabled: %v", config.ListTags)
|
log.Printf("Tags enabled: %s", config.ListTags())
|
||||||
|
|
||||||
if *fPidfile != "" {
|
if *fPidfile != "" {
|
||||||
f, err := os.Create(*fPidfile)
|
f, err := os.Create(*fPidfile)
|
||||||
|
|
|
@ -11,7 +11,7 @@ password = "root"
|
||||||
database = "telegraf"
|
database = "telegraf"
|
||||||
|
|
||||||
[tags]
|
[tags]
|
||||||
dc = "us-phx-1" }
|
dc = "us-phx-1"
|
||||||
|
|
||||||
[redis]
|
[redis]
|
||||||
address = ":6379"
|
address = ":6379"
|
||||||
|
|
Loading…
Reference in New Issue