Skip to content

Commit

Permalink
Remove this
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerwilliams committed Nov 15, 2024
1 parent 161e6cc commit dd95603
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions enterprise/server/scheduling/task_router/task_router.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,6 @@ func (n rankedExecutionNode) IsPreferred() bool {
}

func nonePreferred(nodes []interfaces.ExecutionNode) []interfaces.RankedExecutionNode {
rand.Shuffle(len(nodes), func(i, j int) {
nodes[i], nodes[j] = nodes[j], nodes[i]
})

rankedNodes := make([]interfaces.RankedExecutionNode, len(nodes))
for i, node := range nodes {
rankedNodes[i] = rankedExecutionNode{node: node}
Expand Down

0 comments on commit dd95603

Please sign in to comment.