From cb9e06ddff251759ed5bba1126fba376ec951d36 Mon Sep 17 00:00:00 2001 From: Patrick Zheng Date: Tue, 15 Aug 2023 16:49:25 +0800 Subject: [PATCH] fixed notation policy command print outs Signed-off-by: Patrick Zheng --- cmd/notation/policy/show.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/notation/policy/show.go b/cmd/notation/policy/show.go index a25dec489..ea551eff1 100644 --- a/cmd/notation/policy/show.go +++ b/cmd/notation/policy/show.go @@ -73,6 +73,6 @@ func runShow(command *cobra.Command, opts showOpts) error { // show policy content enc := json.NewEncoder(os.Stdout) - enc.SetIndent("", " ") + enc.SetIndent("", " ") return enc.Encode(&doc) }