Commit 1f1fbf4
committed
must-gather: Call queue.Done at the right time
Currently defer queue.Done(pod) is called in a worker thread loop,
which means that the pod is marked as done when the whole worker thread
exits and not in that pod processing loop iteration.
This is now fixed and the pod is marked as processed as soon as it is
actually processed.1 parent 7a94ed9 commit 1f1fbf4
1 file changed
+8
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
695 | 695 | | |
696 | 696 | | |
697 | 697 | | |
698 | | - | |
699 | | - | |
700 | | - | |
701 | | - | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
702 | 706 | | |
703 | 707 | | |
704 | 708 | | |
| |||
0 commit comments