-
Notifications
You must be signed in to change notification settings - Fork 583
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
Icinga DB feature: normalize *Command.arguments[*].{required,skip_key… #9772
Merged
julianbrost
merged 1 commit into
master
from
icinga-db-feature-should-normalize-command-arguments-required-skip_key-repeat_key-to-boolean-9576
May 25, 2023
Merged
Icinga DB feature: normalize *Command.arguments[*].{required,skip_key… #9772
julianbrost
merged 1 commit into
master
from
icinga-db-feature-should-normalize-command-arguments-required-skip_key-repeat_key-to-boolean-9576
May 25, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ok? |
…,repeat_key} to boolean At the moment, the Icinga DB feature will use that value as-is and serialize it to JSON, resulting in a crash in Icinga DB down the road because it expects a boolean.
f2657b4
to
ad618e9
Compare
This looks like the change I was expecting for that issue. So you can go ahead here. (I wouldn't be opposed to a change like in #9771 if it warned instead of errored out, that could be a useful warning, but as that touches validation code, this would require looking into if/how other booleans would be affected by the change as well.) |
Before
After
|
julianbrost
approved these changes
May 25, 2023
Al2Klimov
added a commit
that referenced
this pull request
Jul 3, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area/icingadb
New backend
backported
Fix was included in a bugfix release
bug
Something isn't working
cla/signed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
…,repeat_key} to boolean
At the moment, the Icinga DB feature will use that value as-is and serialize it to JSON, resulting in a crash in Icinga DB down the road because it expects a boolean.
fixes #9576
closes #9771
TODO