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
Handle 'default' Nutanix project as special case #9332
Conversation
Signed-off-by: Marvin Beckers <marvin@kubermatic.com>
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: embik 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 |
/retest |
/cherry-pick release/v2.20 |
@embik: once the present PR merges, I will cherry-pick it on top of release/v2.20 in a new PR and assign it to you. In response to this:
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. |
/hold Waiting for |
LGTM label has been added. Git tree hash: 57d8496c008b4a05c1f6c43034aebe8d59b0a344
|
/hold cancel |
/retest |
1 similar comment
/retest |
@embik: new pull request created: #9336 In response to this:
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. |
What does this PR do / Why do we need it:
The "default" project is a special case in Nutanix, it's the same as not defining a project at all. Since it can be selected from the UI, selecting it returns an empty list of subnets. This PR handles that case by omitting project references in downstream calls when the "default" project is selected.
Does this PR close any issues?:
Fixes #9330
Special notes for your reviewer:
Documentation:
Does this PR introduce a user-facing change?:
Signed-off-by: Marvin Beckers marvin@kubermatic.com