-
Notifications
You must be signed in to change notification settings - Fork 256
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
🌱 Added Error message when reconciling loop is triggered more than once #1792
Conversation
Hi @babugeet. Thanks for your PR. I'm waiting for a metal3-io 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. 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. |
d5b4429
to
877d9f7
Compare
/ok-to-test |
Please sign-off the work for DCO, and fix the linter nits. |
70c84ce
to
0f11ab1
Compare
@tuminoid : lint issues and DCO is fixed.. pls check |
e9b2681
to
a6336c2
Compare
/retest |
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.
Some nits.
return ctrl.Result{}, errors.Wrap(err, "failed to check services availability") | ||
} | ||
if !ready { | ||
if err != nil || !ready { |
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.
Log-wise, how is it different from just return an error if err != 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.
in some of the implementation of TryInit(), it was returning ready state as bool 'false' and at the same time err was nil. Also this is the standard followed in the code base
Signed-off-by: “babugeet <[email protected]>” Signed-off-by: babugeet <[email protected]>
Signed-off-by: babugeet <[email protected]> Signed-off-by: babugeet <[email protected]>
Signed-off-by: babugeet <[email protected]>
Signed-off-by: babugeet <[email protected]>
a1dff35
to
3a4cabb
Compare
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.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Rozzii 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 |
/lgtm |
/cherry-pick release-0.8 |
@dtantsur: new pull request created: #2083 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. |
What this PR does / why we need it:
Added Error message when reconciling loop is triggered more than once
Fixes #
#1787 (comment)