Browse Source

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 2 năm trước cách đây
mục cha
commit
77dc9b54f3
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  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")