Merge "add template type to template list cli"
This commit is contained in:
commit
c6333c448e
@ -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)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user