-
Notifications
You must be signed in to change notification settings - Fork 40k
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 loadbalancer status comparison #125225
Conversation
The loadbalancer status has added new fields during the latest releases, but the helper function used by the service load balancer controller was not updated with all the new fields, and for the new IPMode field it was not taking into consideration that the field is a pointer. Instead of checking fields one by one use the DeepEqual function that provides semantic equality for these types.
This issue is currently awaiting triage. If a SIG or subproject determines this is a relevant issue, they will accept it by applying the The 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-sigs/prow repository. |
/assign @danwinship @thockin |
want: false, | ||
}, | ||
{ | ||
name: "same ipmode", |
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 failed before, as are different pointer values
/lgtm |
LGTM label has been added. Git tree hash: 7737495f27df762f3b5e867641b653e2c57bc6e7
|
It is duplicated in the cloud provider package, and is only used there for the service load balancer controller.
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.
I am not sure why it was done this way. A little fishy, but I can't see why this would be wrong.
/lgtm
/approve
LGTM label has been added. Git tree hash: 8411ac5a88ab77393d08f26eba35c1d1c5a704da
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: aojea, thockin 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 |
The loadbalancer status has added new fields during the latest releases, but the helper function used by the service load balancer controller was not updated with all the new fields, and for the new IPMode field it was not taking into consideration that the field is a pointer.
Instead of checking fields one by one use the DeepEqual function that provides semantic equality for these types.
/kind bug
/kind cleanup
/sig network