mirror of
https://github.com/docker/compose.git
synced 2026-08-28 12:23:49 +00:00
Add --quiet parameter to docker-compose pull, using existing silent flag
Signed-off-by: Joel Barciauskas <barciajo@gmail.com>
This commit is contained in:
parent
3d57f702f1
commit
5844dbb38e
2 changed files with 5 additions and 1 deletions
|
|
@ -498,7 +498,7 @@ class Project(object):
|
|||
|
||||
if parallel_pull:
|
||||
def pull_service(service):
|
||||
service.pull(ignore_pull_failures, True)
|
||||
service.pull(ignore_pull_failures, True, silent=silent)
|
||||
|
||||
_, errors = parallel.parallel_execute(
|
||||
services,
|
||||
|
|
|
|||
|
|
@ -511,6 +511,10 @@ class CLITestCase(DockerClientTestCase):
|
|||
assert self.dispatch(['pull', '--quiet']).stderr == ''
|
||||
assert self.dispatch(['pull', '--quiet']).stdout == ''
|
||||
|
||||
def test_pull_with_quiet(self):
|
||||
assert self.dispatch(['pull', '--quiet']).stderr == ''
|
||||
assert self.dispatch(['pull', '--quiet']).stdout == ''
|
||||
|
||||
def test_build_plain(self):
|
||||
self.base_dir = 'tests/fixtures/simple-dockerfile'
|
||||
self.dispatch(['build', 'simple'])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue