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: Deprecation warnings for non-deprecated packages #11460

Merged
merged 2 commits into from
Jul 6, 2022

Conversation

srebhan
Copy link
Member

@srebhan srebhan commented Jul 6, 2022

resolves #11459

Starting with v1.23.1 telegraf outputs strange deprecation warnings for non-deprecated plugins (and options) caused during a migration of the printing routines to models/log.go. This PR fixes the issue, restores the old behavior and adds tests to make sure we get the right deprecation warnings (or non) as expected.

@telegraf-tiger telegraf-tiger bot added the fix pr to fix corresponding bug label Jul 6, 2022
@srebhan srebhan added the regression something that used to work, but is now broken label Jul 6, 2022
@cleandesign-contrib
Copy link

This is fixed as far as I can tell. Thank you @srebhan.

srebhan added a commit that referenced this pull request Jul 11, 2022
@srebhan srebhan deleted the fix_deprecation branch November 7, 2022 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix pr to fix corresponding bug regression something that used to work, but is now broken
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Telegraf outputs strange deprecation texts
4 participants