-
Notifications
You must be signed in to change notification settings - Fork 346
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 shared usernames display while retrieving CDN locks #7231
Fix shared usernames display while retrieving CDN locks #7231
Conversation
Codecov Report
@@ Coverage Diff @@
## master #7231 +/- ##
============================================
- Coverage 28.36% 25.95% -2.41%
Complexity 98 98
============================================
Files 617 505 -112
Lines 69195 66100 -3095
Branches 90 90
============================================
- Hits 19624 17158 -2466
+ Misses 47760 47291 -469
+ Partials 1811 1651 -160
Flags with carried forward coverage won't be shown. Click here to find out more. 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
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.
Code LGTM. The locks show the correct username. Unit tests and API(v3/v4/v5) tests pass locally.
... but what does it do, then? |
it does what the title says :) |
It just says it fixed it, but I don't even know what the problem was in the first place |
I have updated the description. |
Cool, thanks |
This PR is not related to any issue.
While locking mutiple CDNs, the "shared usernames" field seems to be wrongly populated, wherein, the list shows up as a combined list of shared users from all the CDNs. This PR fixes that behavior.
Which Traffic Control components are affected by this PR?
What is the best way to verify this PR?
Make sure all the tests pass.
Lock multiple CDNs and share the locks amongst other users.
Make sure TP displays the CDN locks notifications correctly.
If this is a bugfix, which Traffic Control versions contained the bug?
PR submission checklist