Fix influx.toml and ListTags string printing
This commit is contained in:
@@ -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)
|
||||
|
||||
2
testdata/influx.toml
vendored
2
testdata/influx.toml
vendored
@@ -11,7 +11,7 @@ password = "root"
|
||||
database = "telegraf"
|
||||
|
||||
[tags]
|
||||
dc = "us-phx-1" }
|
||||
dc = "us-phx-1"
|
||||
|
||||
[redis]
|
||||
address = ":6379"
|
||||
|
||||
Reference in New Issue
Block a user