mirror of
https://github.com/portainer/portainer.git
synced 2025-07-19 13:29:41 +02:00
fix(swarm): keep swarm stack stop command attached (#444)
This commit is contained in:
parent
41c1d88615
commit
cf95d91db3
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ func (manager *SwarmStackManager) Remove(stack *portainer.Stack, endpoint *porta
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
args = append(args, "stack", "rm", stack.Name)
|
args = append(args, "stack", "rm", "--detach=false", stack.Name)
|
||||||
|
|
||||||
return runCommandAndCaptureStdErr(command, args, nil, "")
|
return runCommandAndCaptureStdErr(command, args, nil, "")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue