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

Sumo Logic output plugin: fix unparsable config.Size from sample config #8243

Merged
merged 2 commits into from
Oct 21, 2020

Conversation

pmalek-sumo
Copy link
Contributor

@pmalek-sumo pmalek-sumo commented Oct 8, 2020

After deciding to use config.Size in e9dcade I've noticed that it uses ParseStrictBytes from https://github.com/alecthomas/units/blob/b9c82cb/bytes.go#L77-L85 which doesn't understand underscores in numbers.

This PR addresses that by changing what's in the sample config not to confuse users.

Required for all PRs:

  • Signed CLA.
  • Associated README.md updated.
  • Has appropriate unit tests.

@pmalek-sumo
Copy link
Contributor Author

Any chance to get this before v1.16 release? cc: @reimda

@reimda reimda merged commit 885d0af into influxdata:master Oct 21, 2020
@reimda
Copy link
Contributor

reimda commented Oct 21, 2020

Thanks @pmalek-sumo!

@pmalek-sumo pmalek-sumo deleted the sumologic-incorrect-sample-config branch October 21, 2020 19:27
@pmalek-sumo
Copy link
Contributor Author

No problem, thanks for merging this

arstercz pushed a commit to arstercz/telegraf that referenced this pull request Mar 5, 2023
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.

3 participants