mirror of
https://opendev.org/openstack/python-openstackclient.git
synced 2026-01-17 07:20:45 +00:00
Fix typo error in listing server's column name
openstack server list -c "Created At" command doesn't work
because the wrong variable was used here.
When we receive resp data, Created At data is saved with
the name "created". But in "server.py", we append columns
as created_at. So it seems to print an empty table.
Story: 2009149
Task: 43112
Change-Id: I06de6903d5cc427a8b0fdcd168fec47192f4365b
(cherry picked from commit 4aad7dd779)
This commit is contained in:
parent
cbc64f9469
commit
e53d034fc8
1 changed files with 1 additions and 1 deletions
|
|
@ -2341,7 +2341,7 @@ class ListServer(command.Lister):
|
|||
columns.append('user_id')
|
||||
column_headers.append('User ID')
|
||||
if c in ('Created At', 'created_at'):
|
||||
columns.append('created_at')
|
||||
columns.append('created')
|
||||
column_headers.append('Created At')
|
||||
|
||||
# convert back to tuple
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue