|
@@ -1287,7 +1287,7 @@ func (s *DockerAPISuite) TestPutContainerArchiveErrSymlinkInVolumeToReadOnlyRoot
|
|
|
// Attempt to extract to a symlink in the volume which points to a
|
|
|
// directory outside the volume. This should cause an error because the
|
|
|
// rootfs is read-only.
|
|
|
- apiClient, err := client.NewClientWithOpts(client.FromEnv, client.WithVersion("v1.20"))
|
|
|
+ apiClient, err := client.NewClientWithOpts(client.FromEnv)
|
|
|
assert.NilError(c, err)
|
|
|
|
|
|
err = apiClient.CopyToContainer(testutil.GetContext(c), cID, "/vol2/symlinkToAbsDir", nil, types.CopyToContainerOptions{})
|