Merge "Show Created At column for volume backups"
This commit is contained in:
commit
d385bd1e03
@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
- |
|
||||||
|
Listing volume backups now shows the created_at column.
|
@ -235,6 +235,7 @@ class TestBackupList(volume_fakes.TestVolume):
|
|||||||
'Status',
|
'Status',
|
||||||
'Size',
|
'Size',
|
||||||
'Incremental',
|
'Incremental',
|
||||||
|
'Created At',
|
||||||
)
|
)
|
||||||
columns_long = columns + (
|
columns_long = columns + (
|
||||||
'Availability Zone',
|
'Availability Zone',
|
||||||
@ -252,6 +253,7 @@ class TestBackupList(volume_fakes.TestVolume):
|
|||||||
b.status,
|
b.status,
|
||||||
b.size,
|
b.size,
|
||||||
b.is_incremental,
|
b.is_incremental,
|
||||||
|
b.created_at,
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
data_long = []
|
data_long = []
|
||||||
@ -264,6 +266,7 @@ class TestBackupList(volume_fakes.TestVolume):
|
|||||||
b.status,
|
b.status,
|
||||||
b.size,
|
b.size,
|
||||||
b.is_incremental,
|
b.is_incremental,
|
||||||
|
b.created_at,
|
||||||
b.availability_zone,
|
b.availability_zone,
|
||||||
volume_backup.VolumeIdColumn(b.volume_id),
|
volume_backup.VolumeIdColumn(b.volume_id),
|
||||||
b.container,
|
b.container,
|
||||||
|
@ -247,6 +247,7 @@ class ListVolumeBackup(command.Lister):
|
|||||||
'status',
|
'status',
|
||||||
'size',
|
'size',
|
||||||
'is_incremental',
|
'is_incremental',
|
||||||
|
'created_at',
|
||||||
)
|
)
|
||||||
column_headers = (
|
column_headers = (
|
||||||
'ID',
|
'ID',
|
||||||
@ -255,6 +256,7 @@ class ListVolumeBackup(command.Lister):
|
|||||||
'Status',
|
'Status',
|
||||||
'Size',
|
'Size',
|
||||||
'Incremental',
|
'Incremental',
|
||||||
|
'Created At',
|
||||||
)
|
)
|
||||||
if parsed_args.long:
|
if parsed_args.long:
|
||||||
columns += ('availability_zone', 'volume_id', 'container')
|
columns += ('availability_zone', 'volume_id', 'container')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user