Template show in cli should be by default in yaml

Templates are written as yaml so why not show them
in the cli by default as yaml. User can still see it
in json using the flag -f json

Change-Id: I17c5b26b8ef2a0ae02886dbf703c29434ad89781
This commit is contained in:
Eyal 2019-06-13 16:15:53 +03:00
parent 97fbcff27b
commit 4b4bf371cf
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ class TemplateShow(show.ShowOne):
@property
def formatter_default(self):
return 'json'
return 'yaml'
def take_action(self, parsed_args):
_id = parsed_args.id