summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-02-13 19:20:10 +0100
committerGitHub <noreply@github.com>2019-02-13 19:20:10 +0100
commit8a16f83b0a13ab9de1cc905a3ff1132c75739995 (patch)
treecbaa3fe4b37fe03eda5c01f298da55cea95c6f53 /cmd
parent62d88558e7637b72ea9ef53d1b3a2d08f2c6a51e (diff)
parentf29a11c201a67a82ca2b82d314a57043207aa1ac (diff)
downloadpodman-8a16f83b0a13ab9de1cc905a3ff1132c75739995.tar.gz
podman-8a16f83b0a13ab9de1cc905a3ff1132c75739995.tar.bz2
podman-8a16f83b0a13ab9de1cc905a3ff1132c75739995.zip
Merge pull request #2327 from baude/issue2175
Parse fq name correctly for images
Diffstat (limited to 'cmd')
-rw-r--r--cmd/podman/images.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/cmd/podman/images.go b/cmd/podman/images.go
index a9e8abbde..b269f6440 100644
--- a/cmd/podman/images.go
+++ b/cmd/podman/images.go
@@ -247,8 +247,12 @@ func getImagesTemplateOutput(ctx context.Context, images []*adapter.ContainerIma
}
// get all specified repo:tag pairs and print them separately
+ repopairs, err := image.ReposToMap(img.Names())
+ if err != nil {
+ logrus.Errorf("error finding tag/digest for %s", img.ID())
+ }
outer:
- for repo, tags := range image.ReposToMap(img.Names()) {
+ for repo, tags := range repopairs {
for _, tag := range tags {
size, err := img.Size(ctx)
var sizeStr string