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

fix(json_v2): remove dead code #9908

Merged
merged 2 commits into from
Oct 13, 2021
Merged

fix(json_v2): remove dead code #9908

merged 2 commits into from
Oct 13, 2021

Conversation

sspaink
Copy link
Contributor

@sspaink sspaink commented Oct 12, 2021

Removed a few lines of code in the json_v2 parser that don't seem to be getting used, tests still pass and weren't changed. The function existsInpathResults even had a parameter it wasn't using, surprised the linter didn't catch this. The parser could use more refactoring, this is a start in cleaning it up.

@telegraf-tiger telegraf-tiger bot added the fix pr to fix corresponding bug label Oct 12, 2021
@sspaink sspaink added the ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review. label Oct 12, 2021
@powersj
Copy link
Contributor

powersj commented Oct 12, 2021

@sspaink approved, but I merged your other MPs which are causing conflicts. Can you resolve and then ping me for a quick review? Thanks!

@sspaink sspaink merged commit 061b409 into master Oct 13, 2021
@sspaink sspaink deleted the removedeadcode branch October 13, 2021 18:04
VladislavSenkevich pushed a commit to gwos/telegraf that referenced this pull request Nov 23, 2021
@Hipska Hipska added the area/json json and json_v2 parser/serialiser related label Feb 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/json json and json_v2 parser/serialiser related fix pr to fix corresponding bug ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants