Skip to content

Commit

Permalink
Merge pull request #5710 from thaJeztah/TestRunCopyFromContainerToFil…
Browse files Browse the repository at this point in the history
…esystem_simplify

TestRunCopyFromContainerToFilesystem: use Tar without options
  • Loading branch information
vvoland authored Dec 23, 2024
2 parents 7e73609 + a8f83d5 commit 1a9d191
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/command/container/cp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func TestRunCopyFromContainerToFilesystem(t *testing.T) {
cli := test.NewFakeCli(&fakeClient{
containerCopyFromFunc: func(ctr, srcPath string) (io.ReadCloser, container.PathStat, error) {
assert.Check(t, is.Equal("container", ctr))
readCloser, err := archive.TarWithOptions(destDir.Path(), &archive.TarOptions{})
readCloser, err := archive.Tar(destDir.Path(), archive.Uncompressed)
return readCloser, container.PathStat{}, err
},
})
Expand Down

0 comments on commit 1a9d191

Please sign in to comment.