This test was added in 75f6929b449a59335572436862d644afacf55cdb, but pinned
to the API version that was current at the time (v1.20), which is now
deprecated.
Update the test to use the current API version.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
| ... | ... |
@@ -1287,7 +1287,7 @@ func (s *DockerAPISuite) TestPutContainerArchiveErrSymlinkInVolumeToReadOnlyRoot |
| 1287 | 1287 |
// Attempt to extract to a symlink in the volume which points to a |
| 1288 | 1288 |
// directory outside the volume. This should cause an error because the |
| 1289 | 1289 |
// rootfs is read-only. |
| 1290 |
- apiClient, err := client.NewClientWithOpts(client.FromEnv, client.WithVersion("v1.20"))
|
|
| 1290 |
+ apiClient, err := client.NewClientWithOpts(client.FromEnv) |
|
| 1291 | 1291 |
assert.NilError(c, err) |
| 1292 | 1292 |
|
| 1293 | 1293 |
err = apiClient.CopyToContainer(testutil.GetContext(c), cID, "/vol2/symlinkToAbsDir", nil, types.CopyToContainerOptions{})
|