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

forcing verbosity to be read as a string, to fix bug #801 #802

Merged
merged 2 commits into from
Apr 2, 2024

Conversation

djdanielsson
Copy link
Collaborator

What does this PR do?

fixes bug where verbosity when set to 0 was being dropped

How should this be tested?

automated

Is there a relevant Issue open for this?

resolves #801

Other Relevant info, PRs, etc

Copy link
Collaborator

@sean-m-sullivan sean-m-sullivan left a comment

Choose a reason for hiding this comment

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

tested and approved

@sean-m-sullivan
Copy link
Collaborator

Also tested with enforced defaults, it works as is, as its not being filtered

@djdanielsson djdanielsson enabled auto-merge (squash) April 2, 2024 21:57
@djdanielsson djdanielsson merged commit 6f1d1a9 into redhat-cop:devel Apr 2, 2024
8 of 13 checks passed
@Tompage1994
Copy link
Collaborator

This does not work when not setting verbosity. You now get an error. I'll raise a PR to fix.

CI did break on this (legitimately) so this should not have been merged 😬

Tompage1994 added a commit to Tompage1994/controller_configuration that referenced this pull request Apr 4, 2024
@Tompage1994 Tompage1994 mentioned this pull request Apr 4, 2024
djdanielsson pushed a commit that referenced this pull request Apr 4, 2024
djdanielsson pushed a commit that referenced this pull request Apr 4, 2024
* Fix bug with #802

* Fix issue on all roles where an integer value being set as 0 caused value not to be passed to controller
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.

Verbosity on job template not changing back to 0 from higher values and state comes as OK
3 participants