aboutsummaryrefslogtreecommitdiff
path: root/pkg/domain/infra/abi/images.go
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/abi/images.go
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/abi/images.go')
-rw-r--r--pkg/domain/infra/abi/images.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/domain/infra/abi/images.go b/pkg/domain/infra/abi/images.go
index 77d1bf0db..f9839f62f 100644
--- a/pkg/domain/infra/abi/images.go
+++ b/pkg/domain/infra/abi/images.go
@@ -237,8 +237,9 @@ func (ir *ImageEngine) Pull(ctx context.Context, rawImage string, options entiti
pullOptions.Variant = options.Variant
pullOptions.SignaturePolicyPath = options.SignaturePolicy
pullOptions.InsecureSkipTLSVerify = options.SkipTLSVerify
+ pullOptions.Writer = options.Writer
- if !options.Quiet {
+ if !options.Quiet && pullOptions.Writer == nil {
pullOptions.Writer = os.Stderr
}