We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e73609 commit a8f83d5Copy full SHA for a8f83d5
1 file changed
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