diff options
author | Valentin Rothberg <rothberg@redhat.com> | 2021-12-20 17:27:02 +0100 |
---|---|---|
committer | Valentin Rothberg <rothberg@redhat.com> | 2021-12-20 17:27:02 +0100 |
commit | b1f5e861b0fa9220fbf2e95a2580892f98a803ca (patch) | |
tree | ce4bb4b3b97e3d9915318b8484522d894d322ac9 /libpod/info.go | |
parent | 76d32a1eb9f70408b48647873f200dcceab74a2a (diff) | |
download | podman-b1f5e861b0fa9220fbf2e95a2580892f98a803ca.tar.gz podman-b1f5e861b0fa9220fbf2e95a2580892f98a803ca.tar.bz2 podman-b1f5e861b0fa9220fbf2e95a2580892f98a803ca.zip |
compat: image normalization: handle sha256 prefix
When normalizing image names on the compat API, make sure to take the
`sha256:` prefix into account when matching against the image ID.
Otherwise, the name will mistakingly be subject to docker.io
normalization.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'libpod/info.go')
0 files changed, 0 insertions, 0 deletions