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

Handle error when initializing the auth object in Azure Monitor output plugin #9048

Merged
merged 1 commit into from
Mar 25, 2021

Conversation

ivorybilled
Copy link
Contributor

If this error isn't handled, it seems as though the 'auth' object can end up being nil and ultimately causing a panic.

(Hopefully) resolves #9044

Copy link
Contributor

@telegraf-tiger telegraf-tiger bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤝 ✅ CLA has been signed. Thank you!

Copy link
Contributor

@telegraf-tiger telegraf-tiger bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

@ssoroka ssoroka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems reasonable. won't make it worse.

@ivorybilled ivorybilled merged commit e4bbcc4 into master Mar 25, 2021
@ivorybilled ivorybilled deleted the handleAuthErrorAzureMonitor branch March 25, 2021 13:20
reimda pushed a commit that referenced this pull request Apr 7, 2021
jblesener pushed a commit to jblesener/telegraf that referenced this pull request Apr 18, 2021
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
2 participants