Remove error message showing exit code when using --exit-code-from

Signed-off-by: Michael Irwin <mikesir87@gmail.com>

Resolves #9782
This commit is contained in:
Michael Irwin 2022-08-23 10:47:00 -04:00
parent 157d38aa69
commit d23c261c7d
No known key found for this signature in database
GPG Key ID: 8C42FBB0E482C8CF
1 changed files with 0 additions and 3 deletions

View File

@ -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
}
}