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) }