-
Notifications
You must be signed in to change notification settings - Fork 1.1k
main: Don't log an error if the clean shutdown file doesn't exist #5144
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
Conversation
|
Hi @cgwalters. Thanks for your PR. I'm waiting for a cri-o 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. DetailsInstructions 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. |
38c4468 to
fc6c5fa
Compare
|
good point, thanks for the PR /ok-to-test |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cgwalters, haircommander The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Codecov Report
@@ Coverage Diff @@
## master #5144 +/- ##
=======================================
Coverage 43.93% 43.93%
=======================================
Files 110 110
Lines 11453 11453
=======================================
Hits 5032 5032
Misses 5944 5944
Partials 477 477 |
|
/retest |
|
LGTM |
cmd/crio/main.go
Outdated
| if err := os.Remove(config.CleanShutdownFile); err != nil { | ||
| // not a fatal error, as it could have been cleaned up | ||
| if err := os.Remove(config.CleanShutdownFile); err != nil && !os.IsNotExist(err) { | ||
| // continue anyways |
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.
apparently the linter thinks this is a commented out continue 🙃
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.
Hah. I removed it so we can continue
This showed up when I was grepping a journal for `error:`, and it's not an error. Signed-off-by: Colin Walters <[email protected]>
fc6c5fa to
73d44bd
Compare
|
/lgtm |
|
/cherry-pick release-1.21 |
|
@haircommander: new pull request created: #5227 DetailsIn 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/test-infra repository. |
This showed up when I was grepping a journal for
error:, and it'snot an error.