Merge pull request #6460 from vrothberg/no-trunc

images --no-trunc: fix ID formatting
This commit is contained in:
OpenShift Merge Robot
2020-06-02 20:48:18 +02:00
committed by GitHub

View File

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