mirror of
https://github.com/moby/moby.git
synced 2025-07-29 07:21:35 +03:00
Explicitly add --detach to service CLI calls
The behavior of service (create/update/scale) was changed in a recent PR to docker/cli. This commit serves to remedy test failures experienced when attempting to use service calls. Should not affect current behavior. Signed-off-by: Eli Uriegas <eli.uriegas@docker.com>
This commit is contained in:
@ -54,7 +54,7 @@ func (s *DockerSwarmSuite) TestPruneNetwork(c *check.C) {
|
||||
|
||||
serviceName := "testprunesvc"
|
||||
replicas := 1
|
||||
out, err := d.Cmd("service", "create", "--no-resolve-image",
|
||||
out, err := d.Cmd("service", "create", "--detach", "--no-resolve-image",
|
||||
"--name", serviceName,
|
||||
"--replicas", strconv.Itoa(replicas),
|
||||
"--network", "n3",
|
||||
|
Reference in New Issue
Block a user