mirror of
https://github.com/containers/podman.git
synced 2025-06-21 01:19:15 +08:00
Merge pull request #6460 from vrothberg/no-trunc
images --no-trunc: fix ID formatting
This commit is contained in:
@ -234,11 +234,7 @@ func imageListFormat(flags listFlagType) (string, string) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
hdr += "\tIMAGE ID"
|
hdr += "\tIMAGE ID"
|
||||||
if flags.noTrunc {
|
|
||||||
row += "\tsha256:{{.ID}}"
|
|
||||||
} else {
|
|
||||||
row += "\t{{.ID}}"
|
row += "\t{{.ID}}"
|
||||||
}
|
|
||||||
|
|
||||||
hdr += "\tCREATED\tSIZE"
|
hdr += "\tCREATED\tSIZE"
|
||||||
row += "\t{{.Created}}\t{{.Size}}"
|
row += "\t{{.Created}}\t{{.Size}}"
|
||||||
|
Reference in New Issue
Block a user