diff options
author | Vladimir Kochnev <hashtable@yandex.ru> | 2022-08-19 00:41:22 +0300 |
---|---|---|
committer | Vladimir Kochnev <hashtable@yandex.ru> | 2022-08-19 00:41:22 +0300 |
commit | 3bf52aa338b33de719e087e15402081568453284 (patch) | |
tree | 7ec3736282de122eba75ebd9b1870908be9b3b28 /cmd/podman | |
parent | ec9508ea177a50ff3361a9ef14efbe1ff6baf05d (diff) | |
download | podman-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 'cmd/podman')
-rw-r--r-- | cmd/podman/images/pull.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cmd/podman/images/pull.go b/cmd/podman/images/pull.go index 8211ceba5..fe9d1e9b6 100644 --- a/cmd/podman/images/pull.go +++ b/cmd/podman/images/pull.go @@ -155,6 +155,11 @@ func imagePull(cmd *cobra.Command, args []string) error { pullOptions.Username = creds.Username pullOptions.Password = creds.Password } + + if !pullOptions.Quiet { + pullOptions.Writer = os.Stderr + } + // Let's do all the remaining Yoga in the API to prevent us from // scattering logic across (too) many parts of the code. var errs utils.OutputErrors |