summaryrefslogtreecommitdiff
path: root/cmd/podman/system/info.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-06-17 13:58:47 -0400
committerGitHub <noreply@github.com>2021-06-17 13:58:47 -0400
commit725b5001a17f703d95a3c88e4f58225c5290576b (patch)
treee1caa3b2d18ca0fed2a4fddb8c434e007dc604a6 /cmd/podman/system/info.go
parent814a8b6d715e1e8d729c58921695c65eec0e71bc (diff)
parentbd9987239dae148bfd3eea8540d21ae7715faff7 (diff)
downloadpodman-725b5001a17f703d95a3c88e4f58225c5290576b.tar.gz
podman-725b5001a17f703d95a3c88e4f58225c5290576b.tar.bz2
podman-725b5001a17f703d95a3c88e4f58225c5290576b.zip
Merge pull request #10688 from jwhonce/bz/1855983
Scrub podman commands to use report package
Diffstat (limited to 'cmd/podman/system/info.go')
-rw-r--r--cmd/podman/system/info.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd/podman/system/info.go b/cmd/podman/system/info.go
index 1dc90f79a..c3f543e6a 100644
--- a/cmd/podman/system/info.go
+++ b/cmd/podman/system/info.go
@@ -3,7 +3,6 @@ package system
import (
"fmt"
"os"
- "text/template"
"github.com/containers/common/pkg/completion"
"github.com/containers/common/pkg/report"
@@ -85,7 +84,7 @@ func info(cmd *cobra.Command, args []string) error {
}
fmt.Println(string(b))
case cmd.Flags().Changed("format"):
- tmpl, err := template.New("info").Parse(inFormat)
+ tmpl, err := report.NewTemplate("info").Parse(inFormat)
if err != nil {
return err
}