From 8a45703f79cc1c54e7a4b908111a1becf907873a Mon Sep 17 00:00:00 2001 From: Paul Holzinger Date: Sat, 25 Jul 2020 15:03:35 +0200 Subject: replace the html/template package with text/template Currently some commands use the html/template package. This can lead to invalid output. e.g. `system df --verbose` will print `<none>` instead of `` with an untaged image. Signed-off-by: Paul Holzinger --- cmd/podman/volumes/inspect.go | 2 +- cmd/podman/volumes/list.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'cmd/podman/volumes') diff --git a/cmd/podman/volumes/inspect.go b/cmd/podman/volumes/inspect.go index 9a8f4049b..235137fc7 100644 --- a/cmd/podman/volumes/inspect.go +++ b/cmd/podman/volumes/inspect.go @@ -2,9 +2,9 @@ package volumes import ( "fmt" - "html/template" "os" "strings" + "text/template" "github.com/containers/buildah/pkg/formats" "github.com/containers/libpod/v2/cmd/podman/registry" diff --git a/cmd/podman/volumes/list.go b/cmd/podman/volumes/list.go index 9e3a8f77b..804b9f319 100644 --- a/cmd/podman/volumes/list.go +++ b/cmd/podman/volumes/list.go @@ -3,11 +3,11 @@ package volumes import ( "context" "fmt" - "html/template" "io" "os" "strings" "text/tabwriter" + "text/template" "github.com/containers/libpod/v2/cmd/podman/registry" "github.com/containers/libpod/v2/cmd/podman/validate" -- cgit v1.2.3-54-g00ecf