images --no-trunc: fix ID formatting
Remove the redundant `sha256:` prefix from the image IDs.
Fixes:
@@ -234,11 +234,7 @@ func imageListFormat(flags listFlagType) (string, string) {
}
hdr += "\tIMAGE ID"
- if flags.noTrunc {
- row += "\tsha256:{{.ID}}"
- } else {
row += "\t{{.ID}}"
- }
hdr += "\tCREATED\tSIZE"
row += "\t{{.Created}}\t{{.Size}}"
