1
0
mirror of https://github.com/moby/moby.git synced 2025-07-29 07:21:35 +03:00

Make internal/test/daemon.Daemon swarm aware

This remove the daemon.Swarm construction by make the new test Daemon
struct aware of swarm.

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
This commit is contained in:
Vincent Demeester
2018-04-11 12:10:17 +02:00
parent f0d277fe84
commit 83d18cf4e3
18 changed files with 721 additions and 697 deletions

View File

@ -16,7 +16,7 @@ import (
"github.com/go-check/check"
)
func pruneNetworkAndVerify(c *check.C, d *daemon.Swarm, kept, pruned []string) {
func pruneNetworkAndVerify(c *check.C, d *daemon.Daemon, kept, pruned []string) {
_, err := d.Cmd("network", "prune", "--force")
c.Assert(err, checker.IsNil)