add template type to template list cli

Change-Id: I170238c7c6bf9a82e6333cefbab1863b9db02f6b
This commit is contained in:
Idan Hefetz 2018-01-21 09:36:38 +00:00
parent 293ea2757e
commit bfc34ba8de

View File

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