Skip to content

Commit d4cfdd9

Browse files
committed
Fix use on non unique identifier
Signed-off-by: apostasie <[email protected]>
1 parent 0c2e76b commit d4cfdd9

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)