-
Notifications
You must be signed in to change notification settings - Fork 0
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
[DDO-3776] Allow clearing role requirement #603
Conversation
Quality Gate passedIssues Measures |
What's Changed
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #603 +/- ##
==========================================
- Coverage 76.27% 76.24% -0.04%
==========================================
Files 211 211
Lines 10010 10022 +12
==========================================
+ Hits 7635 7641 +6
- Misses 1700 1704 +4
- Partials 675 677 +2
|
In developing the UI for configuring Environments and Clusters with a required Role I realized that it wasn't possible to clear out the field once it was set. Hello Go.
This fix manually clears out the field when an edit request is made with it set to an empty string. This is what the UI will already do so there's no changes to that (upcoming) PR.
Testing
Unit test for both Environments and Clusters
Risk
Low