We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7e73609 + a8f83d5 commit 1a9d191Copy full SHA for 1a9d191
cli/command/container/cp_test.go
@@ -73,7 +73,7 @@ func TestRunCopyFromContainerToFilesystem(t *testing.T) {
73
cli := test.NewFakeCli(&fakeClient{
74
containerCopyFromFunc: func(ctr, srcPath string) (io.ReadCloser, container.PathStat, error) {
75
assert.Check(t, is.Equal("container", ctr))
76
- readCloser, err := archive.TarWithOptions(destDir.Path(), &archive.TarOptions{})
+ readCloser, err := archive.Tar(destDir.Path(), archive.Uncompressed)
77
return readCloser, container.PathStat{}, err
78
},
79
})
0 commit comments