-
Notifications
You must be signed in to change notification settings - Fork 23
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
controllers: use semantic deepequal #289
controllers: use semantic deepequal #289
Conversation
Signed-off-by: Rewant Soni <[email protected]>
Teesting:
After:
|
/jira backport release-4.18 |
@rewantsoni: The following backport issues have been created: Queuing cherrypicks to the requested branches to be created after this PR merges: 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 openshift-eng/jira-lifecycle-plugin repository. |
@openshift-ci-robot: once the present PR merges, I will cherry-pick it on top of 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-sigs/prow repository. |
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.
thanks a lot for debugging and fixing this!
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: leelavg, rewantsoni 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 |
3bfb808
into
red-hat-storage:main
@openshift-ci-robot: new pull request created: #290 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-sigs/prow repository. |
The logs for operator had multiple StorageClaims reconcile for rbd type.
The VRC for flatten in rbd didn't have any annotation added to it due to which
reflect.DeepEqual
was treating it as difference and it was being created again and again. Hence moving to usesemantics.DeepQual
which treats empty and nil containers the same.Ref: https://pkg.go.dev/k8s.io/apimachinery/third_party/forked/golang/reflect#Equalities.DeepEqual