aboutsummaryrefslogtreecommitdiff
path: root/pkg/domain
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-06-24 05:40:08 -0400
committerGitHub <noreply@github.com>2021-06-24 05:40:08 -0400
commit3ee967bd5da30ddbd3a8625b00bb82f903641800 (patch)
tree5a85a915899aa3dee6d5d34ab6ec9538a312a8a0 /pkg/domain
parent7d8f111245b8f6500890f21116c43d65985c31cc (diff)
parent6f769bc0e9879e981fc4b8bc0d474b7ad4049431 (diff)
downloadpodman-3ee967bd5da30ddbd3a8625b00bb82f903641800.tar.gz
podman-3ee967bd5da30ddbd3a8625b00bb82f903641800.tar.bz2
podman-3ee967bd5da30ddbd3a8625b00bb82f903641800.zip
Merge pull request #10763 from vrothberg/3.2-backports
3.2 backports
Diffstat (limited to 'pkg/domain')
-rw-r--r--pkg/domain/infra/tunnel/images.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/domain/infra/tunnel/images.go b/pkg/domain/infra/tunnel/images.go
index 3fd9a755d..42027a2dc 100644
--- a/pkg/domain/infra/tunnel/images.go
+++ b/pkg/domain/infra/tunnel/images.go
@@ -107,7 +107,7 @@ func (ir *ImageEngine) Pull(ctx context.Context, rawImage string, opts entities.
options := new(images.PullOptions)
options.WithAllTags(opts.AllTags).WithAuthfile(opts.Authfile).WithArch(opts.Arch).WithOS(opts.OS)
options.WithVariant(opts.Variant).WithPassword(opts.Password)
- options.WithQuiet(opts.Quiet).WithUsername(opts.Username)
+ options.WithQuiet(opts.Quiet).WithUsername(opts.Username).WithPolicy(opts.PullPolicy.String())
if s := opts.SkipTLSVerify; s != types.OptionalBoolUndefined {
if s == types.OptionalBoolTrue {
options.WithSkipTLSVerify(true)