summaryrefslogtreecommitdiff
path: root/integration/internal
diff options
context:
space:
mode:
authorSebastiaan van Stijn <github@gone.nl>2019-09-30 14:23:56 +0200
committerSebastiaan van Stijn <github@gone.nl>2019-09-30 17:38:24 +0200
commit554d9cec257335cdd6af60fa747c8bd6095922b6 (patch)
tree8f46f7406e63041ce3d4762ac2cd032aa0fb1ca6 /integration/internal
parentce2e8e37d05a2d80241caadbc8a7489461371f43 (diff)
downloaddocker-554d9cec257335cdd6af60fa747c8bd6095922b6.tar.gz
testutil: update WithExperimental signature to be a daemon.Option
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Diffstat (limited to 'integration/internal')
-rw-r--r--integration/internal/swarm/service.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/integration/internal/swarm/service.go b/integration/internal/swarm/service.go
index a9df58329b..ac0bded03c 100644
--- a/integration/internal/swarm/service.go
+++ b/integration/internal/swarm/service.go
@@ -54,7 +54,7 @@ func NewSwarm(t *testing.T, testEnv *environment.Execution, ops ...daemon.Option
skip.If(t, testEnv.IsRemoteDaemon)
skip.If(t, testEnv.DaemonInfo.OSType == "windows")
if testEnv.DaemonInfo.ExperimentalBuild {
- ops = append(ops, daemon.WithExperimental)
+ ops = append(ops, daemon.WithExperimental())
}
d := daemon.New(t, ops...)
d.StartAndSwarmInit(t)