summaryrefslogtreecommitdiff
path: root/cmd/podmanV2/images/inspect.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-04-15 15:13:18 +0200
committerGitHub <noreply@github.com>2020-04-15 15:13:18 +0200
commita756161e80cd32b705bb0dfe3ec4753f883ec929 (patch)
tree9cb56a2ea3c77201de133eddad8d3bbf04b4a166 /cmd/podmanV2/images/inspect.go
parentffcb99d8320f7b53548af7210b9705a3590a1bb8 (diff)
parent60dde457f6dc5ec5062a946dbd0848a2b0b06a22 (diff)
downloadpodman-a756161e80cd32b705bb0dfe3ec4753f883ec929.tar.gz
podman-a756161e80cd32b705bb0dfe3ec4753f883ec929.tar.bz2
podman-a756161e80cd32b705bb0dfe3ec4753f883ec929.zip
Merge pull request #5813 from baude/v2edtests2
More system test fixes on regressions
Diffstat (limited to 'cmd/podmanV2/images/inspect.go')
-rw-r--r--cmd/podmanV2/images/inspect.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd/podmanV2/images/inspect.go b/cmd/podmanV2/images/inspect.go
index d7f6b0ee1..2ee2d86ee 100644
--- a/cmd/podmanV2/images/inspect.go
+++ b/cmd/podmanV2/images/inspect.go
@@ -67,7 +67,6 @@ func inspect(cmd *cobra.Command, args []string) error {
}
return nil
}
-
row := inspectFormat(inspectOpts.Format)
format := "{{range . }}" + row + "{{end}}"
tmpl, err := template.New("inspect").Parse(format)
@@ -77,7 +76,7 @@ func inspect(cmd *cobra.Command, args []string) error {
w := tabwriter.NewWriter(os.Stdout, 8, 2, 2, ' ', 0)
defer func() { _ = w.Flush() }()
- err = tmpl.Execute(w, results)
+ err = tmpl.Execute(w, results.Images)
if err != nil {
return err
}