From: Stephen Mulcahy Date: Fri, 5 Apr 2013 09:55:01 +0000 (+0000) Subject: Fix cinder-manage backup list to work with uuids X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=9d359c01f383807846a8be2f7180641880d76952;p=openstack-build%2Fcinder-build.git Fix cinder-manage backup list to work with uuids Fixes bug #1164922 Change-Id: I8ed7ff7ca334b983d60445d96cd1f6c368766407 --- diff --git a/bin/cinder-manage b/bin/cinder-manage index 15ad760b1..de7955d12 100755 --- a/bin/cinder-manage +++ b/bin/cinder-manage @@ -654,7 +654,7 @@ class BackupCommands(object): ctxt = context.get_admin_context() backups = db.backup_get_all(ctxt) - hdr = "%-6s\t%-32s\t%-32s\t%-24s\t%-24s\t%-12s\t%-12s\t%-12s\t%-12s" + hdr = "%-32s\t%-32s\t%-32s\t%-24s\t%-24s\t%-12s\t%-12s\t%-12s\t%-12s" print hdr % (_('ID'), _('User ID'), _('Project ID'), @@ -665,7 +665,7 @@ class BackupCommands(object): _('Size'), _('Object Count')) - res = "%-6d\t%-32s\t%-32s\t%-24s\t%-24s\t%-12s\t%-12s\t%-12d\t%-12d" + res = "%-32s\t%-32s\t%-32s\t%-24s\t%-24s\t%-12s\t%-12s\t%-12d\t%-12d" for backup in backups: object_count = 0 if backup['object_count'] is not None: