浏览代码

Fix on removing error message on 'exec' error

Signed-off-by: Ulysses Souza <[email protected]>
Ulysses Souza 4 年之前
父节点
当前提交
5ec8af582c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      compose/cli/main.py

+ 1 - 1
compose/cli/main.py

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