mirror of
https://opendev.org/openstack/python-openstackclient.git
synced 2026-01-17 07:20:45 +00:00
Merge "Include hosts in aggregate list --long"
This commit is contained in:
commit
b79c0b6cfb
2 changed files with 4 additions and 0 deletions
|
|
@ -193,12 +193,14 @@ class ListAggregate(command.Lister):
|
|||
"Name",
|
||||
"Availability Zone",
|
||||
"Properties",
|
||||
"Hosts",
|
||||
)
|
||||
columns = (
|
||||
"ID",
|
||||
"Name",
|
||||
"Availability Zone",
|
||||
"Metadata",
|
||||
"Hosts",
|
||||
)
|
||||
else:
|
||||
column_headers = columns = (
|
||||
|
|
|
|||
|
|
@ -234,6 +234,7 @@ class TestAggregateList(TestAggregate):
|
|||
"Name",
|
||||
"Availability Zone",
|
||||
"Properties",
|
||||
"Hosts",
|
||||
)
|
||||
|
||||
list_data = ((
|
||||
|
|
@ -251,6 +252,7 @@ class TestAggregateList(TestAggregate):
|
|||
for key, value in TestAggregate.fake_ag.metadata.items()
|
||||
if key != 'availability_zone'
|
||||
}),
|
||||
format_columns.ListColumn(TestAggregate.fake_ag.hosts),
|
||||
), )
|
||||
|
||||
def setUp(self):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue