Skip to content

Commit 4aad7dd

Browse files
committed
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
1 parent d9c556e commit 4aad7dd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

openstackclient/compute/v2/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2341,7 +2341,7 @@ def take_action(self, parsed_args):
23412341
columns.append('user_id')
23422342
column_headers.append('User ID')
23432343
if c in ('Created At', 'created_at'):
2344-
columns.append('created_at')
2344+
columns.append('created')
23452345
column_headers.append('Created At')
23462346

23472347
# convert back to tuple

0 commit comments

Comments
 (0)