fix for pr590 wrong parameter for a user provider network#594
fix for pr590 wrong parameter for a user provider network#594pramchan wants to merge 6 commits intokubernetes-sigs:masterfrom
Conversation
|
Thanks for your pull request. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please follow instructions at https://git.k8s.io/community/CLA.md#the-contributor-license-agreement to sign the CLA. It may take a couple minutes for the CLA signature to be fully registered; after that, please reply here with a new comment and we'll verify. Thanks.
DetailsInstructions 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. |
|
Welcome @pramchan! |
|
Hi @pramchan. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions 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. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: pramchan The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
/ok-to-test |
|
|
||
| netOpts := networks.ListOpts(openStackCluster.Spec.Network) | ||
| networkList, err := networkingService.GetNetworksByFilter(&netOpts) | ||
| if err != nil && len(networkList) == 0 { |
There was a problem hiding this comment.
does this change really fix the nil reference in the bug?
|
you need sign cncf-cla? |
|
Build succeeded.
|
| if len(networkList) == 0 { | ||
| return errors.Errorf("failed to find any network: %v", err) | ||
| } | ||
| if err != nil { |
There was a problem hiding this comment.
It is better to check err is nil or not before checking networkList == 0.
Modified code to address the changes suggested...
|
|
Do I need to create a new pull again for some changes? |
|
@pramchan you generally never need to create a new pull request |
|
@pramchan: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. DetailsInstructions 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. |
|
Build failed.
|
@pramchan No, you do not need to create a new PR generally. But your PR now includes the code of some PRs already merged. https://github.com/kubernetes-sigs/cluster-api-provider-openstack/pull/594/files, so |
… user provider network
|
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
|
This PR was replaced by #610 |
|
@hidekazuna: Closed this PR. DetailsIn 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. |
… user provider network
What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)format, will close the issue(s) when PR gets merged):Fixes #
Special notes for your reviewer:
Release note: