diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-06-02 20:48:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-02 20:48:18 +0200 |
commit | 37ac21ff085b6e17adec3c0d9945524aa41029ae (patch) | |
tree | 7a8519677aa8e8cf7c97c932e4f97181e0d8ad58 /cmd/podman | |
parent | d10addca6c4eef4a3ab93336d1080eead3784caa (diff) | |
parent | 030a4d3257f43d50565ffc9f683757cacb876693 (diff) | |
download | podman-37ac21ff085b6e17adec3c0d9945524aa41029ae.tar.gz podman-37ac21ff085b6e17adec3c0d9945524aa41029ae.tar.bz2 podman-37ac21ff085b6e17adec3c0d9945524aa41029ae.zip |
Merge pull request #6460 from vrothberg/no-trunc
images --no-trunc: fix ID formatting
Diffstat (limited to 'cmd/podman')
-rw-r--r-- | cmd/podman/images/list.go | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/cmd/podman/images/list.go b/cmd/podman/images/list.go index 4f8948b8b..23757104b 100644 --- a/cmd/podman/images/list.go +++ b/cmd/podman/images/list.go @@ -234,11 +234,7 @@ func imageListFormat(flags listFlagType) (string, string) { } hdr += "\tIMAGE ID" - if flags.noTrunc { - row += "\tsha256:{{.ID}}" - } else { - row += "\t{{.ID}}" - } + row += "\t{{.ID}}" hdr += "\tCREATED\tSIZE" row += "\t{{.Created}}\t{{.Size}}" |