util: Fix typo in regex for container digests

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
(cherry picked from commit ab4b221e6465ca387cd4c0c5928f133737cc0905)
This commit is contained in:
Lubomír Sedlář 2025-04-03 10:05:05 +02:00 committed by Stepan Oksanichenko
parent 45c3b1d9b1
commit 0e203553fa

View File

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