[go: nahoru, domu]

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

fix(cri): fix unexpected order of mounts since go 1.19 #10021

Merged
merged 1 commit into from
Apr 2, 2024

Conversation

sctb512
Copy link
Member
@sctb512 sctb512 commented Mar 30, 2024

Since the commit of golang/go@72e77a7 in Golang 1.19, the order of mounts is unexpected. In some situations, this leads to unexpected results.

This PR changes sort.Sort() to sort.Stable() to keep the order of mounts stable after sorting.

Fix #9978

Signed-off-by: Bin Tang <bintang@BindeMacBook-Air.local>
@mxpv mxpv added this pull request to the merge queue Apr 1, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 1, 2024
@samuelkarp samuelkarp added this pull request to the merge queue Apr 1, 2024
@samuelkarp samuelkarp added the area/cri Container Runtime Interface (CRI) label Apr 1, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 2, 2024
@estesp estesp added this pull request to the merge queue Apr 2, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 2, 2024
@mxpv mxpv added this pull request to the merge queue Apr 2, 2024
Merged via the queue into containerd:main with commit 0807efb Apr 2, 2024
48 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cri Container Runtime Interface (CRI) size/XS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cannot create a new container with docker inside container
6 participants