Skip to content

Commit

Permalink
Fix race condition in host spray (#5168)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mzack9999 committed May 10, 2024
1 parent eb73228 commit fed10a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/core/executors.go
Expand Up @@ -162,7 +162,7 @@ func (e *Engine) executeTemplatesOnTarget(ctx context.Context, alltemplates []*t
// wp is workpool that contains different waitgroups for
// headless and non-headless templates
// global waitgroup should not be used here
wp := e.WorkPool()
wp := e.GetWorkPool()

for _, tpl := range alltemplates {
select {
Expand Down

0 comments on commit fed10a1

Please sign in to comment.