-
Notifications
You must be signed in to change notification settings - Fork 94
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
🐛 igonre failed to get pullsecret error #463
🐛 igonre failed to get pullsecret error #463
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #463 +/- ##
=======================================
Coverage 62.64% 62.64%
=======================================
Files 136 136
Lines 11529 11529
=======================================
Hits 7222 7222
Misses 3539 3539
Partials 768 768
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@@ -262,7 +262,7 @@ func (n *clusterManagerController) sync(ctx context.Context, controllerContext f | |||
// check imagePulSecret here because there will be a warning event FailedToRetrieveImagePullSecret | |||
// if imagePullSecret does not exist. | |||
if config.ImagePullSecret, err = n.getImagePullSecret(ctx); err != nil { | |||
return err | |||
klog.Errorf("failed to get image pull secret: %v", err) |
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.
if this error will not result in running to fail, it should be Info or Warning level.
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.
ditto, also add a todo here that we should return err in the next release.
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.
done
Signed-off-by: Zhiwei Yin <zyin@redhat.com>
47cf3d6
to
1a45d98
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
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: qiujian16, zhiweiyin318 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 |
319d9af
into
open-cluster-management-io:main
Summary
Related issue(s)
Fixes #