From 2bee75c3c4a860506c269f32a67b340b72d23d36 Mon Sep 17 00:00:00 2001 From: Stephen Thirlwall Date: Tue, 2 Nov 2021 09:36:20 +1100 Subject: [PATCH] Fix formatting with gofmt -s Knew I'd forget something. Signed-off-by: Stephen Thirlwall --- pkg/compose/start.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/compose/start.go b/pkg/compose/start.go index 1b12614ca..5af019a58 100644 --- a/pkg/compose/start.go +++ b/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