summaryrefslogtreecommitdiff
path: root/cmd/podman/networks
diff options
context:
space:
mode:
authorPaul Holzinger <paul.holzinger@web.de>2020-07-25 15:03:35 +0200
committerPaul Holzinger <paul.holzinger@web.de>2020-07-25 15:03:35 +0200
commit8a45703f79cc1c54e7a4b908111a1becf907873a (patch)
treec0ba5af99b056daf2675c6da1d949354c1616350 /cmd/podman/networks
parentc2deeff10101a5d9da70ecf496f8bdfc4ec99fb4 (diff)
downloadpodman-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 `&lt;none&gt;` instead of `<none>` with an untaged image. Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
Diffstat (limited to 'cmd/podman/networks')
-rw-r--r--cmd/podman/networks/inspect.go2
-rw-r--r--cmd/podman/networks/list.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/cmd/podman/networks/inspect.go b/cmd/podman/networks/inspect.go
index bf2c7a5e0..bfbb09cb8 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"
diff --git a/cmd/podman/networks/list.go b/cmd/podman/networks/list.go
index ad2ee98b1..105bd25c6 100644
--- a/cmd/podman/networks/list.go
+++ b/cmd/podman/networks/list.go
@@ -3,10 +3,10 @@ package network
import (
"encoding/json"
"fmt"
- "html/template"
"os"
"strings"
"text/tabwriter"
+ "text/template"
"github.com/containers/libpod/v2/cmd/podman/registry"
"github.com/containers/libpod/v2/cmd/podman/validate"