Merge pull request #9783 from mikesir87/9782-remove-confusing-error-output

Remove error message showing exit code when using --exit-code-from
This commit is contained in:
Nick Sieger 2022-08-23 10:13:37 -05:00 committed by GitHub
commit 3aceaa1694
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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
}
}