Don't display 'Created At' for service
This field doesn't provide too much information. Also, both nova and cinder don't display this field so we remove it for consistency. Change-Id: Ia7968359862615bb38f9d1abb3f4a981c1329700
This commit is contained in:
parent
755f0a3508
commit
e759493abc
@ -34,7 +34,7 @@ class ListService(command.Lister):
|
||||
client = _get_client(self, parsed_args)
|
||||
services = client.services.list()
|
||||
columns = ('Id', 'Host', 'Binary', 'State', 'Disabled',
|
||||
'Disabled Reason', 'Created At', 'Updated At')
|
||||
'Disabled Reason', 'Updated At')
|
||||
return (columns, (utils.get_item_properties(service, columns)
|
||||
for service in services))
|
||||
|
||||
|
@ -21,7 +21,7 @@ def do_service_list(cs, args):
|
||||
"""Print a list of zun services."""
|
||||
services = cs.services.list()
|
||||
columns = ('Id', 'Host', 'Binary', 'State', 'Disabled',
|
||||
'Disabled Reason', 'Created At', 'Updated At')
|
||||
'Disabled Reason', 'Updated At')
|
||||
utils.print_list(services, columns,
|
||||
{'versions': zun_utils.print_list_field('versions')})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user