-
Notifications
You must be signed in to change notification settings - Fork 40.1k
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 and clear err message about RemoveVolumeFromReportAsAttached() #42317
add and clear err message about RemoveVolumeFromReportAsAttached() #42317
Conversation
@k8s-bot cvm gce e2e test this |
keep-open |
@NickrenREN reviewing now - sorry for the latency |
Thanks for the patch, @NickrenREN |
@k8s-bot unit test this |
@k8s-bot kops aws e2e test this |
rc.actualStateOfWorld.RemoveVolumeFromReportAsAttached(attachedVolume.VolumeName, attachedVolume.NodeName) | ||
err = rc.actualStateOfWorld.RemoveVolumeFromReportAsAttached(attachedVolume.VolumeName, attachedVolume.NodeName) | ||
if err != nil { | ||
glog.Errorf("RemoveVolumeFromReportAsAttached failed while removing volume %q from node %q with: %v", |
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.
glog.V(5).Infof
instead of glog.Errorf
since the error is non-blocking. I want to prevent spamming logs so I'm cautious when adding new errors with high visibility to loops.
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.
OK, done
a0c72d6
to
0861688
Compare
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: NickrenREN, saad-ali
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
Automatic merge from submit-queue |
Release note: