Skip to content

Fix error log when copy file#5229

Merged
dmcgowan merged 1 commit intocontainerd:masterfrom
wzshiming:fix/log-cp-file
Mar 19, 2021
Merged

Fix error log when copy file#5229
dmcgowan merged 1 commit intocontainerd:masterfrom
wzshiming:fix/log-cp-file

Conversation

@wzshiming
Copy link
Copy Markdown
Contributor

Signed-off-by: Shiming Zhang [email protected]

@k8s-ci-robot
Copy link
Copy Markdown

Hi @wzshiming. Thanks for your PR.

I'm waiting for a containerd member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

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.

Copy link
Copy Markdown
Member

@mikebrow mikebrow left a comment

Choose a reason for hiding this comment

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

LGTM

@mikebrow
Copy link
Copy Markdown
Member

/ok-to-test

Comment thread pkg/process/init.go Outdated
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

A more consistent log would probably be log.G(ctx).WithError(cerr).Error("failed to copy dump.log to criu-dump.log")

Signed-off-by: Shiming Zhang <[email protected]>
@dmcgowan dmcgowan merged commit 0d569f8 into containerd:master Mar 19, 2021
@wzshiming wzshiming deleted the fix/log-cp-file branch March 19, 2021 18:02
fuweid added a commit that referenced this pull request Mar 27, 2021
…1.4/#5229

[release/1.4] Cherry pick of #5229: Fix error log when copy file
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.

6 participants