util: Fix typo in regex for container digests

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
Lubomír Sedlář 2025-04-03 10:05:05 +02:00
parent 3ed09991c1
commit ab4b221e64

View file

@ -263,7 +263,7 @@ class ContainerTagResolver(object):
if self.offline:
# We're offline, nothing to do
return url
if re.match(".*@sha256:[a-z0.9]+", url):
if re.match(".*@sha256:[a-z0-9]+", url):
# We already have a digest
return url
if url not in self.cache: