We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 79d125c commit e481f6bCopy full SHA for e481f6b
v2/cmd/asoctl/pkg/importreporter/log.go
@@ -47,9 +47,14 @@ func newLogProgress(
47
total += int64(delta.pending)
48
49
// If we're done, finish up
50
- if parent == nil && total > 0 && completed >= total {
51
- // We're the root importreporter log, so we also need to handle the done channel
52
- close(done)
+ if total > 0 && completed >= total {
+ close(result.updates)
+
53
+ if parent == nil {
54
+ // We're the root importreporter log, so we also need to handle the done channel
55
+ close(done)
56
+ }
57
58
break
59
}
60
0 commit comments