Skip to content
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

Conversation

zhiweiyin318
Copy link
Member

Summary

Related issue(s)

Fixes #

@openshift-ci openshift-ci bot requested review from xuezhaojun and zhujian7 May 15, 2024 02:45
Copy link

codecov bot commented May 15, 2024

Codecov Report

Attention: Patch coverage is 0% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 62.64%. Comparing base (fd65f37) to head (1a45d98).

Files Patch % Lines
...stermanagercontroller/clustermanager_controller.go 0.00% 1 Missing ⚠️
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           
Flag Coverage Δ
unit 62.64% <0.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -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)
Copy link
Member

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.

Copy link
Member

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.

Copy link
Member Author

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>
@zhiweiyin318 zhiweiyin318 force-pushed the ignore-pullsecret-err branch from 47cf3d6 to 1a45d98 Compare May 15, 2024 06:15
Copy link
Member

@qiujian16 qiujian16 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve
/lgtm

Copy link
Contributor

openshift-ci bot commented May 15, 2024

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot openshift-merge-bot bot merged commit 319d9af into open-cluster-management-io:main May 15, 2024
14 checks passed
@zhiweiyin318 zhiweiyin318 deleted the ignore-pullsecret-err branch May 15, 2024 07:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants