瀏覽代碼

Merge pull request #6914 from lukas9393/6913-progress-arg

Fix --progress arg when run docker-compose build
Ulysses Souza 6 年之前
父節點
當前提交
186aa6e5c3
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      compose/service.py

+ 1 - 1
compose/service.py

@@ -1787,7 +1787,7 @@ class _CLIBuilder(object):
         command_builder.add_flag("--force-rm", forcerm)
         command_builder.add_arg("--memory", container_limits.get("memory"))
         command_builder.add_flag("--no-cache", nocache)
-        command_builder.add_flag("--progress", self._progress)
+        command_builder.add_arg("--progress", self._progress)
         command_builder.add_flag("--pull", pull)
         command_builder.add_arg("--tag", tag)
         command_builder.add_arg("--target", target)