mirror of https://github.com/docker/compose.git
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:
parent
157d38aa69
commit
d23c261c7d
|
@ -21,8 +21,6 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/docker/compose/v2/pkg/api"
|
"github.com/docker/compose/v2/pkg/api"
|
||||||
|
|
||||||
"github.com/sirupsen/logrus"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// logPrinter watch application containers an collect their logs
|
// 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
|
exitCodeFrom = event.Service
|
||||||
}
|
}
|
||||||
if exitCodeFrom == event.Service {
|
if exitCodeFrom == event.Service {
|
||||||
logrus.Error(event.ExitCode)
|
|
||||||
exitCode = event.ExitCode
|
exitCode = event.ExitCode
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue