Merge "Don't display 'Created At' for service"

This commit is contained in:
Zuul 2018-02-26 08:02:45 +00:00 committed by Gerrit Code Review
commit c95b0d4c02
2 changed files with 2 additions and 2 deletions

View File

@ -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))

View File

@ -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')})