-
Notifications
You must be signed in to change notification settings - Fork 48
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: cluster configuration validation for bool type #777
fix: cluster configuration validation for bool type #777
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #777 +/- ##
==========================================
+ Coverage 93.04% 93.07% +0.02%
==========================================
Files 36 36
Lines 2402 2410 +8
==========================================
+ Hits 2235 2243 +8
Misses 167 167 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small nitpick, but looks good! I'll give it a test tomorrow.
As bool is a subtype of int, True/False was considered as 1/0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested it out and works great
/lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: KPostOffice The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
be9763a
into
project-codeflare:main
Issue link
https://issues.redhat.com/browse/RHOAIENG-11022
What changes have been made
Fixed cluster configuration validation for bool types, and changed so all type mismatches are reported simultaneously, rather than stopping at the first occurrence.
Verification steps
Checks