diff options
author | Jhon Honce <jhonce@redhat.com> | 2020-09-15 16:53:55 -0700 |
---|---|---|
committer | Jhon Honce <jhonce@redhat.com> | 2020-09-16 10:44:26 -0700 |
commit | 222cf744129bd608d3e7e3adde4f47b675765876 (patch) | |
tree | 43862c6fde678f165a6d229844e36bd016e5a6e2 /cmd/podman/images/save.go | |
parent | acf86ef5ab9c5307fe0bdc93bf534decaafe38ae (diff) | |
download | podman-222cf744129bd608d3e7e3adde4f47b675765876.tar.gz podman-222cf744129bd608d3e7e3adde4f47b675765876.tar.bz2 podman-222cf744129bd608d3e7e3adde4f47b675765876.zip |
Refactor remote pull to provide progress
podman and podman-remote do not exactly match as the lower layer code
checks if the output is destined for a TTY before creating the progress
bars. A future PR for containers/images could change this behavior.
Fixes #7543
Tested with:
$ (echo '# start'; podman-remote pull nginx ) 2>&1 | ts '[%Y-%m-%d %H:%M:%.S]'
$ (echo '# start'; podman pull nginx ) 2>&1 | ts '[%Y-%m-%d %H:%M:%.S]'
Signed-off-by: Jhon Honce <jhonce@redhat.com>
Diffstat (limited to 'cmd/podman/images/save.go')
0 files changed, 0 insertions, 0 deletions