diff options
author | Paul Holzinger <paul.holzinger@web.de> | 2020-07-25 15:03:35 +0200 |
---|---|---|
committer | Paul Holzinger <paul.holzinger@web.de> | 2020-07-25 15:03:35 +0200 |
commit | 8a45703f79cc1c54e7a4b908111a1becf907873a (patch) | |
tree | c0ba5af99b056daf2675c6da1d949354c1616350 /cmd/podman/system | |
parent | c2deeff10101a5d9da70ecf496f8bdfc4ec99fb4 (diff) | |
download | podman-8a45703f79cc1c54e7a4b908111a1becf907873a.tar.gz podman-8a45703f79cc1c54e7a4b908111a1becf907873a.tar.bz2 podman-8a45703f79cc1c54e7a4b908111a1becf907873a.zip |
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 `<none>` with an untaged image.
Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
Diffstat (limited to 'cmd/podman/system')
-rw-r--r-- | cmd/podman/system/df.go | 2 | ||||
-rw-r--r-- | cmd/podman/system/events.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cmd/podman/system/df.go b/cmd/podman/system/df.go index c2308f0cc..a242c4f66 100644 --- a/cmd/podman/system/df.go +++ b/cmd/podman/system/df.go @@ -2,11 +2,11 @@ package system import ( "fmt" - "html/template" "io" "os" "strings" "text/tabwriter" + "text/template" "time" "github.com/containers/libpod/v2/cmd/podman/registry" diff --git a/cmd/podman/system/events.go b/cmd/podman/system/events.go index 246611c1a..0a46a4042 100644 --- a/cmd/podman/system/events.go +++ b/cmd/podman/system/events.go @@ -3,9 +3,9 @@ package system import ( "bufio" "context" - "html/template" "os" "strings" + "text/template" "github.com/containers/buildah/pkg/formats" "github.com/containers/libpod/v2/cmd/podman/registry" |