summaryrefslogtreecommitdiff
path: root/integration-cli/fixtures_linux_daemon_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/fixtures_linux_daemon_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/fixtures_linux_daemon_test.go')
-rw-r--r--integration-cli/fixtures_linux_daemon_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/integration-cli/fixtures_linux_daemon_test.go b/integration-cli/fixtures_linux_daemon_test.go
index 6ac4511215..e1cad449f4 100644
--- a/integration-cli/fixtures_linux_daemon_test.go
+++ b/integration-cli/fixtures_linux_daemon_test.go
@@ -38,7 +38,7 @@ func ensureSyscallTest(c *check.C) {
// if no match, must build in docker, which is significantly slower
// (slower mostly because of the vfs graphdriver)
- if testEnv.DaemonPlatform() != runtime.GOOS {
+ if testEnv.OSType != runtime.GOOS {
ensureSyscallTestBuild(c)
return
}
@@ -93,7 +93,7 @@ func ensureSyscallTestBuild(c *check.C) {
func ensureNNPTest(c *check.C) {
defer testEnv.ProtectImage(c, "nnp-test:latest")
- if testEnv.DaemonPlatform() != runtime.GOOS {
+ if testEnv.OSType != runtime.GOOS {
ensureNNPTestBuild(c)
return
}