mirror of
https://github.com/moby/moby.git
synced 2025-07-29 07:21:35 +03:00
integration-cli: remove deprecated daemonHost() utility
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
@ -1442,7 +1442,7 @@ func (s *DockerSuite) TestPutContainerArchiveErrSymlinkInVolumeToReadOnlyRootfs(
|
||||
// directory outside the volume. This should cause an error because the
|
||||
// rootfs is read-only.
|
||||
var httpClient *http.Client
|
||||
cli, err := client.NewClient(daemonHost(), "v1.20", httpClient, map[string]string{})
|
||||
cli, err := client.NewClient(request.DaemonHost(), "v1.20", httpClient, map[string]string{})
|
||||
c.Assert(err, checker.IsNil)
|
||||
|
||||
err = cli.CopyToContainer(context.Background(), cID, "/vol2/symlinkToAbsDir", nil, types.CopyToContainerOptions{})
|
||||
|
Reference in New Issue
Block a user