From 9d359c01f383807846a8be2f7180641880d76952 Mon Sep 17 00:00:00 2001 From: Stephen Mulcahy Date: Fri, 5 Apr 2013 09:55:01 +0000 Subject: [PATCH] Fix cinder-manage backup list to work with uuids Fixes bug #1164922 Change-Id: I8ed7ff7ca334b983d60445d96cd1f6c368766407 --- bin/cinder-manage | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: -- 2.45.2