summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-09-20 10:35:44 -0400
committerGitHub <noreply@github.com>2021-09-20 10:35:44 -0400
commitcd09903eff3589d82256a86e144f4a4c5bedccbe (patch)
tree90a5d787df98f74d8f7a47428b2284a40c942cd2 /pkg
parentd6884dedc3386c7fa07018241d01e86c527bbe3f (diff)
parent6001cd02a999e82cbbf9fd05ed5d2c620c114658 (diff)
downloadpodman-cd09903eff3589d82256a86e144f4a4c5bedccbe.tar.gz
podman-cd09903eff3589d82256a86e144f4a4c5bedccbe.tar.bz2
podman-cd09903eff3589d82256a86e144f4a4c5bedccbe.zip
Merge pull request #11655 from vrothberg/3.4-vendor-common
[3.4] vendor c/common@v0.44.1
Diffstat (limited to 'pkg')
-rw-r--r--pkg/autoupdate/autoupdate.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/autoupdate/autoupdate.go b/pkg/autoupdate/autoupdate.go
index 894178bb9..29c234ce9 100644
--- a/pkg/autoupdate/autoupdate.go
+++ b/pkg/autoupdate/autoupdate.go
@@ -404,7 +404,8 @@ func newerRemoteImageAvailable(ctx context.Context, runtime *libpod.Runtime, img
if err != nil {
return false, err
}
- return img.HasDifferentDigest(ctx, remoteRef)
+ options := &libimage.HasDifferentDigestOptions{AuthFilePath: authfile}
+ return img.HasDifferentDigest(ctx, remoteRef, options)
}
// newerLocalImageAvailable returns true if the container and local image have different digests