Skip to content

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

Merged
reimda merged 2 commits intoinfluxdata:masterfrom
SumoLogic:sumologic-incorrect-sample-config
Oct 21, 2020
Merged

Sumo Logic output plugin: fix unparsable config.Size from sample config#8243
reimda merged 2 commits intoinfluxdata:masterfrom
SumoLogic:sumologic-incorrect-sample-config

Conversation

@pmalek-sumo
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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