summaryrefslogtreecommitdiff
path: root/integration/internal
diff options
context:
space:
mode:
authorSam Whited <sam@samwhited.com>2019-09-17 12:44:35 -0500
committerSam Whited <sam@samwhited.com>2019-09-18 09:14:50 -0500
commit41adef29f57b0050c4e9c6c9606fae2b7ddf129b (patch)
tree68d6e1b92fa327ee55d920226d8e05cde45ad21c /integration/internal
parent92cc603036ddadd608762a6f69e72b9b2bef651e (diff)
downloaddocker-41adef29f57b0050c4e9c6c9606fae2b7ddf129b.tar.gz
testutil/daemon: group options under type
Signed-off-by: Sam Whited <sam@samwhited.com>
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 e7198266e6..a9df58329b 100644
--- a/integration/internal/swarm/service.go
+++ b/integration/internal/swarm/service.go
@@ -49,7 +49,7 @@ func ContainerPoll(config *poll.Settings) {
}
// NewSwarm creates a swarm daemon for testing
-func NewSwarm(t *testing.T, testEnv *environment.Execution, ops ...func(*daemon.Daemon)) *daemon.Daemon {
+func NewSwarm(t *testing.T, testEnv *environment.Execution, ops ...daemon.Option) *daemon.Daemon {
t.Helper()
skip.If(t, testEnv.IsRemoteDaemon)
skip.If(t, testEnv.DaemonInfo.OSType == "windows")