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(common.oauth): Initialize 'EndpointParams' to avoid panic with 'audience' settings #14331

Merged
merged 1 commit into from
Nov 27, 2023

Conversation

irvingh
Copy link
Contributor

@irvingh irvingh commented Nov 21, 2023

Initialize EndpointParams map to prevent the panics when setting an endpoint-parameter.

Initiate EndpointParams map to prevent the panics.
@telegraf-tiger telegraf-tiger bot added the fix pr to fix corresponding bug label Nov 21, 2023
Copy link
Member

@srebhan srebhan left a comment

Choose a reason for hiding this comment

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

Thanks for the fix @irvingh! Much appreciated!

Next time, please also open an issue describing what you are seeing and how to trigger the issue. This way others, running into the same issue, can easier find the issue and the corresponding PR...

@srebhan srebhan added plugin/input 1. Request for new input plugins 2. Issues/PRs that are related to input plugins plugin/output 1. Request for new output plugins 2. Issues/PRs that are related to out plugins ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review. labels Nov 22, 2023
@srebhan srebhan changed the title fix: create oauth2 client credentials config with audience panics fix(common.oauth): Initialize 'EndpointParams' to avoid panic with 'audience' settings Nov 22, 2023
@powersj powersj merged commit 0e591ea into influxdata:master Nov 27, 2023
25 checks passed
@github-actions github-actions bot added this to the v1.29.0 milestone Nov 27, 2023
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 plugin/input 1. Request for new input plugins 2. Issues/PRs that are related to input plugins plugin/output 1. Request for new output plugins 2. Issues/PRs that are related to out plugins 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