Fix influx.toml and ListTags string printing

This commit is contained in:
Cameron Sparr 2015-08-12 14:59:42 -06:00
parent ddf438dac0
commit 5cb3a096c1
2 changed files with 2 additions and 2 deletions

View File

@ -116,7 +116,7 @@ func main() {
log.Printf("Agent Config: Interval:%s, Debug:%#v, Hostname:%#v\n",
ag.Interval, ag.Debug, ag.Hostname)
}
log.Printf("Tags enabled: %v", config.ListTags)
log.Printf("Tags enabled: %s", config.ListTags())
if *fPidfile != "" {
f, err := os.Create(*fPidfile)

View File

@ -11,7 +11,7 @@ password = "root"
database = "telegraf"
[tags]
dc = "us-phx-1" }
dc = "us-phx-1"
[redis]
address = ":6379"