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

Cleanup Ceph Input Plugin #4721

Merged
merged 1 commit into from
Sep 20, 2018
Merged

Conversation

spjmurray
Copy link
Contributor

With a new found mastery of Go it was time to revisit this plugin and
make the code more idiomatic. The main thrust is to unmarshal directly
into data structures rather than using type assertions which makes the
code far more readable. I've also added additional protections in the
form of extended testing.

Required for all PRs:

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

With a new found mastery of Go it was time to revisit this plugin and
make the code more idiomatic.  The main thrust is to unmarshal directly
into data structures rather than using type assertions which makes the
code far more readable.  I've also added additional protections in the
form of extended testing.
@glinton glinton added feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin area/ceph labels Sep 20, 2018
@glinton glinton added this to the 1.9.0 milestone Sep 20, 2018
@danielnelson danielnelson merged commit a55e141 into influxdata:master Sep 20, 2018
@spjmurray spjmurray deleted the ceph_cleanup branch September 21, 2018 08:54
otherpirate pushed a commit to otherpirate/telegraf that referenced this pull request Mar 15, 2019
otherpirate pushed a commit to otherpirate/telegraf that referenced this pull request Mar 15, 2019
dupondje pushed a commit to dupondje/telegraf that referenced this pull request Apr 22, 2019
athoune pushed a commit to bearstech/telegraf that referenced this pull request Apr 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants