diff options
Diffstat (limited to 'cmd/podman/images/mount.go')
-rw-r--r-- | cmd/podman/images/mount.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/podman/images/mount.go b/cmd/podman/images/mount.go index 0a972ea81..ff54e1d54 100644 --- a/cmd/podman/images/mount.go +++ b/cmd/podman/images/mount.go @@ -6,7 +6,7 @@ import ( "text/tabwriter" "text/template" - "github.com/containers/podman/v2/cmd/podman/parse" + "github.com/containers/common/pkg/report" "github.com/containers/podman/v2/cmd/podman/registry" "github.com/containers/podman/v2/cmd/podman/utils" "github.com/containers/podman/v2/pkg/domain/entities" @@ -80,7 +80,7 @@ func mount(cmd *cobra.Command, args []string) error { } switch { - case parse.MatchesJSONFormat(mountOpts.Format): + case report.IsJSON(mountOpts.Format): return printJSON(reports) case mountOpts.Format == "": break // default format |