mirror of
https://github.com/containers/podman.git
synced 2025-12-05 12:52:12 +08:00
vendor buildah, image, storage, cni
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
This commit is contained in:
8
vendor/github.com/containers/buildah/pkg/formats/formats.go
generated
vendored
8
vendor/github.com/containers/buildah/pkg/formats/formats.go
generated
vendored
@@ -111,17 +111,13 @@ func (t StdoutTemplateArray) Out() error {
|
||||
if err != nil {
|
||||
return errors.Wrapf(err, parsingErrorStr)
|
||||
}
|
||||
for i, raw := range t.Output {
|
||||
for _, raw := range t.Output {
|
||||
basicTmpl := tmpl.Funcs(basicFunctions)
|
||||
if err := basicTmpl.Execute(w, raw); err != nil {
|
||||
return errors.Wrapf(err, parsingErrorStr)
|
||||
}
|
||||
if i != len(t.Output)-1 {
|
||||
fmt.Fprintln(w, "")
|
||||
continue
|
||||
}
|
||||
fmt.Fprintln(w, "")
|
||||
}
|
||||
fmt.Fprintln(w, "")
|
||||
return w.Flush()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user