aboutsummaryrefslogtreecommitdiff
path: root/pkg/domain/infra/tunnel
diff options
context:
space:
mode:
authorVladimir Kochnev <hashtable@yandex.ru>2022-08-19 00:41:22 +0300
committerVladimir Kochnev <hashtable@yandex.ru>2022-08-19 00:41:22 +0300
commit3bf52aa338b33de719e087e15402081568453284 (patch)
tree7ec3736282de122eba75ebd9b1870908be9b3b28 /pkg/domain/infra/tunnel
parentec9508ea177a50ff3361a9ef14efbe1ff6baf05d (diff)
downloadpodman-3bf52aa338b33de719e087e15402081568453284.tar.gz
podman-3bf52aa338b33de719e087e15402081568453284.tar.bz2
podman-3bf52aa338b33de719e087e15402081568453284.zip
Add ProgressWriter to PullOptions
Signed-off-by: Vladimir Kochnev <hashtable@yandex.ru>
Diffstat (limited to 'pkg/domain/infra/tunnel')
-rw-r--r--pkg/domain/infra/tunnel/images.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/domain/infra/tunnel/images.go b/pkg/domain/infra/tunnel/images.go
index bb3014099..2716aaf2a 100644
--- a/pkg/domain/infra/tunnel/images.go
+++ b/pkg/domain/infra/tunnel/images.go
@@ -110,6 +110,7 @@ func (ir *ImageEngine) Pull(ctx context.Context, rawImage string, opts entities.
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).WithPolicy(opts.PullPolicy.String())
+ options.WithProgressWriter(opts.Writer)
if s := opts.SkipTLSVerify; s != types.OptionalBoolUndefined {
if s == types.OptionalBoolTrue {
options.WithSkipTLSVerify(true)