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

opsgenie-config: optimise warning log message during sanitize #4833

Merged
merged 1 commit into from Jun 3, 2022

Conversation

jijotj
Copy link
Contributor

@jijotj jijotj commented Jun 3, 2022

Description

This is a small change to optimise noisy warning message when sanitizing opsgenie config. The warning should be logged only if both APIKey and APIKeyFile are configured. The PR adds a condition to check the same.

Type of change

What type of changes does your code introduce to the Prometheus operator? Put an x in the box that apply.

  • CHANGE (fix or feature that would cause existing functionality to not work as expected)
  • FEATURE (non-breaking change which adds functionality)
  • BUGFIX (non-breaking change which fixes an issue)
  • ENHANCEMENT (non-breaking change which improves existing functionality)
  • NONE (if none of the other choices apply. Example, tooling, build system, CI, docs, etc.)

Changelog entry

opsgenie-config: optimise warning log message during sanitize


@jijotj jijotj requested a review from a team as a code owner June 3, 2022 10:45
Copy link
Contributor

@simonpasquier simonpasquier left a comment

Choose a reason for hiding this comment

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

thanks!

@simonpasquier simonpasquier merged commit c98a043 into prometheus-operator:main Jun 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants