Skip to content

Commit

Permalink
Fix WG done call (#1688)
Browse files Browse the repository at this point in the history
  • Loading branch information
bnshr authored Dec 4, 2023
1 parent 232b272 commit 11c322f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ func deletePod(pod *corev1.Pod, mode string, wg *sync.WaitGroup) error {
podName := pod.Name
namespace := pod.Namespace
go func() {
defer wg.Done()
waitPodDeleted(namespace, podName, gracePeriodSeconds, watcher)
wg.Done()
}()
return nil
}
Expand Down

0 comments on commit 11c322f

Please sign in to comment.