diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-09-20 10:35:44 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-20 10:35:44 -0400 |
commit | cc6a85bcde1e7068105502dbc21afbb51b3e70d5 (patch) | |
tree | 78456f2a1f7d03185620e579320bbcc54867c8b4 /pkg | |
parent | f7d7fc2c8c70ca36cf2e9441cd1a8c40c042ba11 (diff) | |
parent | 50981245706f7ab8dd57ddaf7efb39a171bbd97b (diff) | |
download | podman-cc6a85bcde1e7068105502dbc21afbb51b3e70d5.tar.gz podman-cc6a85bcde1e7068105502dbc21afbb51b3e70d5.tar.bz2 podman-cc6a85bcde1e7068105502dbc21afbb51b3e70d5.zip |
Merge pull request #11652 from vrothberg/vendor-common
vendor c/common@main
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/autoupdate/autoupdate.go | 3 |
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 |