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:
Kurt Mackey 2017-01-09 08:48:32 -06:00 committed by Cameron Sparr
parent e225aa85e4
commit 6735d4e62c
1 changed files with 2 additions and 2 deletions

View File

@ -17,8 +17,8 @@ import (
// Librato structure for configuration and client
type Librato struct {
APIUser string
APIToken string
APIUser string `toml:"api_user"`
APIToken string `toml:"api_token"`
Debug bool
SourceTag string // Deprecated, keeping for backward-compatibility
Timeout internal.Duration