From d23c261c7dd3aaadcdedd97da71bebd534d355b6 Mon Sep 17 00:00:00 2001 From: Michael Irwin Date: Tue, 23 Aug 2022 10:47:00 -0400 Subject: [PATCH] Remove error message showing exit code when using --exit-code-from Signed-off-by: Michael Irwin Resolves #9782 --- pkg/compose/printer.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/pkg/compose/printer.go b/pkg/compose/printer.go index cb1507759..2b2be4b37 100644 --- a/pkg/compose/printer.go +++ b/pkg/compose/printer.go @@ -21,8 +21,6 @@ import ( "fmt" "github.com/docker/compose/v2/pkg/api" - - "github.com/sirupsen/logrus" ) // logPrinter watch application containers an collect their logs @@ -99,7 +97,6 @@ func (p *printer) Run(ctx context.Context, cascadeStop bool, exitCodeFrom string exitCodeFrom = event.Service } if exitCodeFrom == event.Service { - logrus.Error(event.ExitCode) exitCode = event.ExitCode } }