mirror of
https://github.com/docker/compose.git
synced 2025-04-08 17:05:13 +02:00
Fix on removing error message on 'exec' error
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
This commit is contained in:
parent
5b7851f55b
commit
5ec8af582c
@ -137,7 +137,7 @@ def get_filtered_args(args):
|
||||
|
||||
|
||||
def exit_with_metrics(command, log_msg=None, status=Status.SUCCESS, exit_code=1):
|
||||
if log_msg:
|
||||
if log_msg and command != 'exec':
|
||||
if not exit_code:
|
||||
log.info(log_msg)
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user