-
Notifications
You must be signed in to change notification settings - Fork 59
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
[OSD-20017] create config file with login --multi even if target config file exists #301
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #301 +/- ##
==========================================
- Coverage 45.93% 45.89% -0.05%
==========================================
Files 53 53
Lines 3753 3785 +32
==========================================
+ Hits 1724 1737 +13
- Misses 1754 1775 +21
+ Partials 275 273 -2
|
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.
Generally lgtm, added one suggestion
Also, given the changes made to the Apart from that, LGTM, great work @Tof1973 👍 |
Cannot understand why it has to check the file existence before writing... cc @samanthajayasinghe please let me know if there is a reason |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bmeng, Tof1973 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 |
@Tof1973: all tests passed! Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
What type of PR is this?
bug
What this PR does / Why we need it?
Without this change, when using login --multi on a cluster where we already did it, but where credentials expired, the connection will not work.
Which Jira/Github issue(s) does this PR fix?
Resolves #OSD-20017
Special notes for your reviewer
Pre-checks (if applicable)