mirror of https://github.com/docker/compose.git
rm: remove debugging output (#10554)
For example, when no container was being removed, this would print `[]`. Signed-off-by: Mateus Esdras <linux.esdras@gmail.com>
This commit is contained in:
parent
bceb3c1876
commit
77dc9b54f3
|
@ -75,7 +75,6 @@ func (s *composeService) Remove(ctx context.Context, projectName string, options
|
|||
stoppedContainers.forEach(func(c moby.Container) {
|
||||
names = append(names, getCanonicalContainerName(c))
|
||||
})
|
||||
fmt.Fprintln(s.stdinfo(), names)
|
||||
|
||||
if len(names) == 0 {
|
||||
fmt.Fprintln(s.stdinfo(), "No stopped containers")
|
||||
|
|
Loading…
Reference in New Issue