Skip to content

Commit 25f320f

Browse files
authored
Merge pull request containerd#4250 from apostasie/2025-05-fix-non-unique-id
[CI]: fix use of non unique identifier
2 parents 0c2e76b + d4cfdd9 commit 25f320f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/nerdctl/container/container_commit_linux_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ func TestKubeCommitSave(t *testing.T) {
5353
}
5454

5555
testCase.Command = func(data test.Data, helpers test.Helpers) test.TestableCommand {
56-
helpers.Ensure("commit", data.Labels().Get("containerID"), "testcommitsave")
57-
return helpers.Command("save", "testcommitsave")
56+
helpers.Ensure("commit", data.Labels().Get("containerID"), data.Identifier("testcommitsave"))
57+
return helpers.Command("save", data.Identifier("testcommitsave"))
5858
}
5959

6060
testCase.Expected = test.Expects(0, nil, nil)

0 commit comments

Comments
 (0)