Skip to content

Commit

Permalink
[launcher] Pass activeNodes to getNodeByRunners
Browse files Browse the repository at this point in the history
Signed-off-by: Mykola Kobets <[email protected]>
  • Loading branch information
mykola-kobets-epam committed Aug 17, 2024
1 parent 0f04ec3 commit 96935c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion launcher/nodehandler.go
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ func getNodesByStaticResources(nodes []*nodeHandler,
return resultNodes, aoserrors.Errorf("no active nodes")
}

resultNodes = getNodeByRunners(nodes, serviceConfig.Runners)
resultNodes = getNodeByRunners(resultNodes, serviceConfig.Runners)
if len(resultNodes) == 0 {
return resultNodes, aoserrors.Errorf("no nodes with runner: %s", serviceConfig.Runners)
}
Expand Down

0 comments on commit 96935c4

Please sign in to comment.