Skip to content

[release/1.7 backport] TestNewBinaryIOCleanup: fix a comment, minor rewrite#10776

Merged
dmcgowan merged 1 commit intocontainerd:release/1.7from
austinvazquez:cherry-pick-94c163209db612dbf1394e73060031953b34ac88-to-1.7
Oct 8, 2024
Merged

[release/1.7 backport] TestNewBinaryIOCleanup: fix a comment, minor rewrite#10776
dmcgowan merged 1 commit intocontainerd:release/1.7from
austinvazquez:cherry-pick-94c163209db612dbf1394e73060031953b34ac88-to-1.7

Conversation

@austinvazquez
Copy link
Copy Markdown
Member

The main reason is to improve the comment about pidfd in Go 1.23+.

While at it:

  • avoid slice manipulation as we only need count;
  • avoid repeating "/proc/self/fd".

Updates: #10345.

(cherry picked from commit 94c1632)

The main reason is to improve the comment about pidfd in Go 1.23+.

While at it:
 - avoid slice manipulation as we only need count;
 - avoid repeating "/proc/self/fd".

Updates: containerd#10345.

Signed-off-by: Kir Kolyshkin <[email protected]>
(cherry picked from commit 94c1632)
Signed-off-by: Austin Vazquez <[email protected]>
@k8s-ci-robot
Copy link
Copy Markdown

Hi @austinvazquez. 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-sigs/prow repository.

@dmcgowan dmcgowan merged commit 59cf2f9 into containerd:release/1.7 Oct 8, 2024
@austinvazquez austinvazquez deleted the cherry-pick-94c163209db612dbf1394e73060031953b34ac88-to-1.7 branch October 8, 2024 21:41
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.

5 participants