Commit 7b0382e
committed
Fix sync.WaitGroup usage in concurrent RemoveImage test
The test was incorrectly calling wg.Go() which doesn't exist on
sync.WaitGroup. Fixed to use the proper pattern: wg.Add(1), go func(),
and defer wg.Done().
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>1 parent 3d68d48 commit 7b0382e
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
137 | 139 | | |
138 | 140 | | |
139 | 141 | | |
| |||
142 | 144 | | |
143 | 145 | | |
144 | 146 | | |
145 | | - | |
| 147 | + | |
146 | 148 | | |
147 | 149 | | |
148 | 150 | | |
| |||
0 commit comments