Fix for broken librato output (#2225)
* Fix for broken librato output These errors are delightful, but I'd rather avoid them: ``` Error parsing /etc/telegraf/telegraf.conf, line 2: field corresponding to `api_user' is not defined in `*librato.Librato' ``` * Fixed bad format from last commit
This commit is contained in:
parent
a658e6c509
commit
2aa2c796e5
|
@ -17,8 +17,8 @@ import (
|
||||||
|
|
||||||
// Librato structure for configuration and client
|
// Librato structure for configuration and client
|
||||||
type Librato struct {
|
type Librato struct {
|
||||||
APIUser string
|
APIUser string `toml:"api_user"`
|
||||||
APIToken string
|
APIToken string `toml:"api_token"`
|
||||||
Debug bool
|
Debug bool
|
||||||
SourceTag string // Deprecated, keeping for backward-compatibility
|
SourceTag string // Deprecated, keeping for backward-compatibility
|
||||||
Timeout internal.Duration
|
Timeout internal.Duration
|
||||||
|
|
Loading…
Reference in New Issue