mirror of
https://github.com/containers/podman.git
synced 2025-06-19 08:09:12 +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"
|
||||
if flags.noTrunc {
|
||||
row += "\tsha256:{{.ID}}"
|
||||
} else {
|
||||
row += "\t{{.ID}}"
|
||||
}
|
||||
row += "\t{{.ID}}"
|
||||
|
||||
hdr += "\tCREATED\tSIZE"
|
||||
row += "\t{{.Created}}\t{{.Size}}"
|
||||
|
Reference in New Issue
Block a user