1
0

Merge pull request #54 from cerc-io/dboreham/fix-verbose-output

Quiet verbose output
This commit is contained in:
David Boreham 2022-11-29 19:56:26 -07:00 committed by GitHub
commit c502aae162
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ def command(ctx, include, exclude, cluster, command, services):
compose_file_name = os.path.join("compose", f"docker-compose-{pod}.yml") compose_file_name = os.path.join("compose", f"docker-compose-{pod}.yml")
compose_files.append(compose_file_name) compose_files.append(compose_file_name)
else: else:
if not quiet: if verbose:
print(f"Excluding: {pod}") print(f"Excluding: {pod}")
if verbose: if verbose:

View File

@ -102,7 +102,7 @@ def command(ctx, include, exclude, git_ssh, check_only, pull, branches_file):
if include_exclude_check(repo, include, exclude): if include_exclude_check(repo, include, exclude):
repos.append(repo) repos.append(repo)
else: else:
if not quiet: if verbose:
print(f"Excluding: {repo}") print(f"Excluding: {repo}")
def process_repo(repo): def process_repo(repo):