-
Notifications
You must be signed in to change notification settings - Fork 261
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
⚠️ Resolved and Resources become optional pointer types #1967
⚠️ Resolved and Resources become optional pointer types #1967
Conversation
✅ Deploy Preview for kubernetes-sigs-cluster-api-openstack ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
c22ae58
to
cee39c9
Compare
cee39c9
to
9969ea3
Compare
/test pull-cluster-api-provider-openstack-e2e-full-test |
9969ea3
to
2758a6d
Compare
/test pull-cluster-api-provider-openstack-e2e-full-test |
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.
Other than the nit I noticed, it LGTM.
// ReferencedResources have no equivalent in v1alpha7 | ||
if previous.Bastion != nil { | ||
dst.Bastion.Resolved = previous.Bastion.Resolved | ||
if previous == nil || dst == nil { |
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.
this check also happens in restorev1beta1BastionStatus
, can it be removed?
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.
In restorev1beta1BastionStatus
it's BastionStatus, not ClusterStatus. I think we need both.
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.
Here we are checking previous
and dst
. Then we pass on previous.Bastion
and dst.Bastion
, so I would say both checks are needed.
/lgtm |
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.
/lgtm
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jichenjc, mdbooth 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 |
This updates Resolved and Resources in both OpenStackMachine and the Bastion to be optional pointer types.
TODO:
/hold