We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc8c29b commit df35dc1Copy full SHA for df35dc1
cli/f3.go
@@ -177,5 +177,9 @@ func prettyPrintManifest(out io.Writer, manifest *manifest.Manifest) error {
177
Certificate Exchange Min Poll Interval: {{.CertificateExchange.MinimumPollInterval}}
178
Certificate Exchange Max Poll Interval: {{.CertificateExchange.MaximumPollInterval}}
179
`
180
- return template.New("manifest").ExecuteTemplate(out, manifestTemplate, manifest)
+ t, err := template.New("manifest").Parse(manifestTemplate)
181
+ if err != nil {
182
+ return fmt.Errorf("failed to parse manifest template: %w", err)
183
+ }
184
+ return t.ExecuteTemplate(out, "manifest", manifest)
185
}
0 commit comments