Explorar el Código

rm: remove debugging output (#10554)

For example, when no container was being removed,
this would print `[]`.

Signed-off-by: Mateus Esdras <[email protected]>
Mateus Esdras hace 2 años
padre
commit
77dc9b54f3
Se han modificado 1 ficheros con 0 adiciones y 1 borrados
  1. 0 1
      pkg/compose/remove.go

+ 0 - 1
pkg/compose/remove.go

@@ -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")