Update headers for openstack router list --long
Updated External gateway info to External Gateway Info, Availability zones to Availability Zones in the openstack router list --long command to keep syncronized with other Openstack commands headers Change-Id: I5a0e9c736d63ebaa20204782ed646f5e4fe67a36 Closes-Bug: #1643868
This commit is contained in:
@@ -323,7 +323,7 @@ class ListRouter(command.Lister):
|
||||
)
|
||||
column_headers = column_headers + (
|
||||
'Routes',
|
||||
'External gateway info',
|
||||
'External Gateway Info',
|
||||
)
|
||||
# availability zone will be available only when
|
||||
# router_availability_zone extension is enabled
|
||||
@@ -332,7 +332,7 @@ class ListRouter(command.Lister):
|
||||
'availability_zones',
|
||||
)
|
||||
column_headers = column_headers + (
|
||||
'Availability zones',
|
||||
'Availability Zones',
|
||||
)
|
||||
|
||||
data = client.routers(**args)
|
||||
|
@@ -324,12 +324,12 @@ class TestListRouter(TestRouter):
|
||||
)
|
||||
columns_long = columns + (
|
||||
'Routes',
|
||||
'External gateway info',
|
||||
'Availability zones'
|
||||
'External Gateway Info',
|
||||
'Availability Zones'
|
||||
)
|
||||
columns_long_no_az = columns + (
|
||||
'Routes',
|
||||
'External gateway info',
|
||||
'External Gateway Info',
|
||||
)
|
||||
|
||||
data = []
|
||||
|
7
releasenotes/notes/bug-1643868-421d5d8fd317d8b0.yaml
Normal file
7
releasenotes/notes/bug-1643868-421d5d8fd317d8b0.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
features:
|
||||
- |
|
||||
Updated the ``openstack router list --long`` headers as
|
||||
``External gateway info`` to ``External Gateway Info``
|
||||
and ``Availability zones`` to ``Availability zones``
|
||||
[Bug `1643868 <https://bugs.launchpad.net/bugs/1643868>`_]
|
Reference in New Issue
Block a user