From d7515bc935377d6a13e34535e1cfbbcf13192e3b Mon Sep 17 00:00:00 2001 From: gecong1973 Date: Sun, 28 Oct 2018 20:11:10 -0700 Subject: [PATCH] add backup show command field for freezerclient The backup show field is not enough, this patch add more detailed field Change-Id: I41bab0fb911aca002efd732fc8071aa52c09ff60 --- freezerclient/v2/backups.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/freezerclient/v2/backups.py b/freezerclient/v2/backups.py index fcce6dc..41cdf58 100644 --- a/freezerclient/v2/backups.py +++ b/freezerclient/v2/backups.py @@ -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