Browse code

integration-cli: swarm.RestartNode(); don't load busybox again

The daemon was already created and started with the busybox
image loaded, so there's no need to load the image again.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 8fc23588f1aa14054f1134e60dd996220c595363)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

Sebastiaan van Stijn authored on 2019/09/10 05:32:10
Showing 1 changed files
... ...
@@ -36,7 +36,7 @@ func (d *Daemon) RestartNode(t testingT) {
36 36
 	}
37 37
 	// avoid networking conflicts
38 38
 	d.Stop(t)
39
-	d.StartWithBusybox(t, startArgs...)
39
+	d.Start(t, startArgs...)
40 40
 }
41 41
 
42 42
 // StartAndSwarmInit starts the daemon (with busybox) and init the swarm