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>
This commit is contained in:
Paul Holzinger
2020-07-25 15:03:35 +02:00
parent c2deeff101
commit 8a45703f79
6 changed files with 6 additions and 6 deletions

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"