mirror of
https://github.com/containers/podman.git
synced 2025-11-29 17:48:05 +08:00
fix(deps): update module github.com/vbauerster/mpb/v8 to v8.4.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
This commit is contained in:
7
vendor/github.com/vbauerster/mpb/v8/heap_manager.go
generated
vendored
7
vendor/github.com/vbauerster/mpb/v8/heap_manager.go
generated
vendored
@@ -46,6 +46,7 @@ func (m heapManager) run() {
|
||||
var sync bool
|
||||
|
||||
for req := range m {
|
||||
next:
|
||||
switch req.cmd {
|
||||
case h_push:
|
||||
data := req.data.(pushData)
|
||||
@@ -78,7 +79,8 @@ func (m heapManager) run() {
|
||||
select {
|
||||
case data.iter <- b:
|
||||
case <-data.drop:
|
||||
break
|
||||
close(data.iter)
|
||||
break next
|
||||
}
|
||||
}
|
||||
close(data.iter)
|
||||
@@ -88,7 +90,8 @@ func (m heapManager) run() {
|
||||
select {
|
||||
case data.iter <- heap.Pop(&bHeap).(*Bar):
|
||||
case <-data.drop:
|
||||
break
|
||||
close(data.iter)
|
||||
break next
|
||||
}
|
||||
}
|
||||
close(data.iter)
|
||||
|
||||
Reference in New Issue
Block a user