diff options
author | Paul Holzinger <paul.holzinger@web.de> | 2020-07-25 15:03:35 +0200 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2020-07-31 11:37:22 -0400 |
commit | ae34c6386019d77a92de2e7085f0c4c1f04a09cf (patch) | |
tree | 5745848d1a7d77b3c6501ae943ba679c34a19973 /cmd/podman/networks/inspect.go | |
parent | a34888de319307b6cc1e8b250fb9ded73aa5b6b8 (diff) | |
download | podman-ae34c6386019d77a92de2e7085f0c4c1f04a09cf.tar.gz podman-ae34c6386019d77a92de2e7085f0c4c1f04a09cf.tar.bz2 podman-ae34c6386019d77a92de2e7085f0c4c1f04a09cf.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/networks/inspect.go')
-rw-r--r-- | cmd/podman/networks/inspect.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/networks/inspect.go b/cmd/podman/networks/inspect.go index 0ce1b5e83..4afebf620 100644 --- a/cmd/podman/networks/inspect.go +++ b/cmd/podman/networks/inspect.go @@ -3,10 +3,10 @@ package network import ( "encoding/json" "fmt" - "html/template" "io" "os" "strings" + "text/template" "github.com/containers/libpod/v2/cmd/podman/registry" "github.com/containers/libpod/v2/pkg/domain/entities" |