Skip to content

Commit

Permalink
Merge pull request #9783 from mikesir87/9782-remove-confusing-error-o…
Browse files Browse the repository at this point in the history
…utput

Remove error message showing exit code when using --exit-code-from
  • Loading branch information
nicksieger committed Aug 23, 2022
2 parents 157d38a + d23c261 commit 3aceaa1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/compose/printer.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
}
}
Expand Down

0 comments on commit 3aceaa1

Please sign in to comment.