diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2019-01-05 13:41:44 -0500 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2019-01-05 16:50:40 -0500 |
commit | ba89a058882f1027226943fe2ef614930ab60f8e (patch) | |
tree | d4ebfb820c474826c213e00a833222313efd4433 /vendor/gopkg.in/cheggaaa/pb.v1/pb_win.go | |
parent | 4e0c0ecbc383531cd1b38db9027583974a72070d (diff) | |
download | podman-ba89a058882f1027226943fe2ef614930ab60f8e.tar.gz podman-ba89a058882f1027226943fe2ef614930ab60f8e.tar.bz2 podman-ba89a058882f1027226943fe2ef614930ab60f8e.zip |
Vendor in latest containers/buildah code
This should improve the speed of podman build.
Has fixes from containres/image for parallell pull.
Also vendor containers/storage and containers/image
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'vendor/gopkg.in/cheggaaa/pb.v1/pb_win.go')
-rw-r--r-- | vendor/gopkg.in/cheggaaa/pb.v1/pb_win.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/vendor/gopkg.in/cheggaaa/pb.v1/pb_win.go b/vendor/gopkg.in/cheggaaa/pb.v1/pb_win.go index 72f682835..9595e8236 100644 --- a/vendor/gopkg.in/cheggaaa/pb.v1/pb_win.go +++ b/vendor/gopkg.in/cheggaaa/pb.v1/pb_win.go @@ -102,7 +102,7 @@ var echoLockMutex sync.Mutex var oldState word -func lockEcho() (quit chan int, err error) { +func lockEcho() (shutdownCh chan struct{}, err error) { echoLockMutex.Lock() defer echoLockMutex.Unlock() if echoLocked { @@ -124,6 +124,8 @@ func lockEcho() (quit chan int, err error) { err = fmt.Errorf("Can't set terminal settings: %v", e) return } + + shutdownCh = make(chan struct{}) return } |