Merge "add template type to template list cli"

This commit is contained in:
Zuul 2018-01-22 12:47:31 +00:00 committed by Gerrit Code Review
commit c6333c448e

View File

@ -51,7 +51,6 @@ class TemplateList(lister.Lister):
def take_action(self, parsed_args): def take_action(self, parsed_args):
templates = utils.get_client(self).template.list() templates = utils.get_client(self).template.list()
# TODO(ikinory): add type to the table.
return utils.list2cols_with_rename( return utils.list2cols_with_rename(
( (
('UUID', 'uuid'), ('UUID', 'uuid'),
@ -59,6 +58,7 @@ class TemplateList(lister.Lister):
('Status', 'status'), ('Status', 'status'),
('Status details', 'status details'), ('Status details', 'status details'),
('Date', 'date'), ('Date', 'date'),
('Type', 'type'),
), templates) ), templates)