-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
✨ Add IsZero method to reconcile.Result #1059
✨ Add IsZero method to reconcile.Result #1059
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: vincepri 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 |
3fcd0b5
to
3c8c10e
Compare
Might want to use a pointer receiver to avoid a heap copy? Guessing this intended to be fast :) |
3c8c10e
to
c2c91b0
Compare
@coderanger Having it as a non-pointer makes it possible to use it on a nil variable as well, which was the intent behind it |
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
/test pull-controller-runtime-test-master |
1 similar comment
/test pull-controller-runtime-test-master |
Signed-off-by: Vince Prignano <[email protected]>
c2c91b0
to
bef7dd5
Compare
@coderanger I stand corrected, we do want to have it as a pointer receiver to check if it's nil, thanks for pointing it out! @alvaroaleman Sidenote, we're still running coverage using parallel tests |
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
Signed-off-by: Vince Prignano [email protected]
/assign @alvaroaleman