add backup show command field for freezerclient
The backup show field is not enough, this patch add more detailed field Change-Id: I41bab0fb911aca002efd732fc8071aa52c09ff60
This commit is contained in:
parent
4ab052733d
commit
d7515bc935
@ -42,10 +42,16 @@ class BackupShow(show.ShowOne):
|
||||
|
||||
column = (
|
||||
'Backup ID',
|
||||
'Project ID',
|
||||
'User ID',
|
||||
'User name',
|
||||
'Metadata'
|
||||
)
|
||||
data = (
|
||||
backup.get('backup_uuid'),
|
||||
backup.get('project_id'),
|
||||
backup.get('user_id'),
|
||||
backup.get('user_name'),
|
||||
pprint.pformat(backup.get('backup_metadata'))
|
||||
)
|
||||
return column, data
|
||||
|
Loading…
Reference in New Issue
Block a user