From 4b4bf371cf3637a670239ab87ec02cf9cceceb9b Mon Sep 17 00:00:00 2001 From: Eyal Date: Thu, 13 Jun 2019 16:15:53 +0300 Subject: [PATCH] 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 --- vitrageclient/v1/cli/template.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vitrageclient/v1/cli/template.py b/vitrageclient/v1/cli/template.py index 6bd3b04..6e27924 100644 --- a/vitrageclient/v1/cli/template.py +++ b/vitrageclient/v1/cli/template.py @@ -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