summaryrefslogtreecommitdiff
path: root/integration-cli/docker_api_images_test.go
diff options
context:
space:
mode:
authorSebastiaan van Stijn <github@gone.nl>2018-01-15 15:32:06 +0100
committerSebastiaan van Stijn <github@gone.nl>2018-01-15 15:32:06 +0100
commit18a771a761654e241ae8d1e85aa0c0a6164c5d27 (patch)
tree3237ccd0a014d19c425953328b65eb12801be831 /integration-cli/docker_api_images_test.go
parentdfedc9ef6214500526c29fbf9a46aca9cecbeb57 (diff)
downloaddocker-18a771a761654e241ae8d1e85aa0c0a6164c5d27.tar.gz
Remove deprecated environment.DaemonPlatform()
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Diffstat (limited to 'integration-cli/docker_api_images_test.go')
-rw-r--r--integration-cli/docker_api_images_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/integration-cli/docker_api_images_test.go b/integration-cli/docker_api_images_test.go
index fba69dc682..10cb52eeb0 100644
--- a/integration-cli/docker_api_images_test.go
+++ b/integration-cli/docker_api_images_test.go
@@ -80,7 +80,7 @@ func (s *DockerSuite) TestAPIImagesDelete(c *check.C) {
c.Assert(err, checker.IsNil)
defer cli.Close()
- if testEnv.DaemonPlatform() != "windows" {
+ if testEnv.OSType != "windows" {
testRequires(c, Network)
}
name := "test-api-images-delete"
@@ -104,7 +104,7 @@ func (s *DockerSuite) TestAPIImagesHistory(c *check.C) {
c.Assert(err, checker.IsNil)
defer cli.Close()
- if testEnv.DaemonPlatform() != "windows" {
+ if testEnv.OSType != "windows" {
testRequires(c, Network)
}
name := "test-api-images-history"