Merge "Don't display 'Created At' for service"
This commit is contained in:
commit
c95b0d4c02
@ -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