Explorar el Código

Fix formatting with gofmt -s

Knew I'd forget something.

Signed-off-by: Stephen Thirlwall <[email protected]>
Stephen Thirlwall hace 4 años
padre
commit
2bee75c3c4
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      pkg/compose/start.go

+ 1 - 1
pkg/compose/start.go

@@ -94,7 +94,7 @@ func (s *composeService) watchContainers(ctx context.Context, projectName string
 	err := s.Events(ctx, projectName, api.EventsOptions{
 		Services: services,
 		Consumer: func(event api.Event) error {
-			if (event.Status == "destroy") {
+			if event.Status == "destroy" {
 				// This container can't be inspected, because it's gone.
 				// Its already been removed from the watched map.
 				return nil