We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 161415f commit bb41d82Copy full SHA for bb41d82
1 file changed
dcor_control/cli/status.py
@@ -65,9 +65,11 @@ def status():
65
66
# Backup bucket
67
try:
68
- bbi = get_bucket_info("000000000-backup")
+ bucket_prefix = get_ckan_config_option(
69
+ "dcor_object_store.bucket_name").format(organization_id="")
70
+ bbi = get_bucket_info(f"{bucket_prefix}000000000-backup")
71
except BaseException:
- click.echo("Instance backup bucket does not exist.")
72
+ click.echo("Instance backup does not exist (yet).")
73
else:
74
click.echo(f"S3 instance backup number: {bbi['num_other']}")
75
click.echo(f"S3 instance backup size: "
0 commit comments