Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/scollector: error on unused toml keys #1080

Merged
merged 1 commit into from
Jun 18, 2015
Merged

cmd/scollector: error on unused toml keys #1080

merged 1 commit into from
Jun 18, 2015

Conversation

maddyblue
Copy link
Contributor

Review on Reviewable

@gbrayut
Copy link
Contributor

gbrayut commented Jun 18, 2015

Tested with a bogus [[asdfasdf]] and with an extra asdf = "^ChatServer" and it caught both of them. LGTM

2015/06/18 11:15:51 fatal: main.go:146: extra keys in C:\Code\Go\src\bosun.org\cmd\scollector\scollector.toml: [asdfasdf asdfasdf.Name]
...
2015/06/18 11:16:40 fatal: main.go:146: extra keys in C:\Code\Go\src\bosun.org\cmd\scollector\scollector.toml: [ProcessDotNet.asdf]

maddyblue added a commit that referenced this pull request Jun 18, 2015
cmd/scollector: error on unused toml keys
@maddyblue maddyblue merged commit deef5c5 into master Jun 18, 2015
@maddyblue maddyblue deleted the toml-strict branch June 18, 2015 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants