Skip to content

Commit

Permalink
Gofumpt
Browse files Browse the repository at this point in the history
Signed-off-by: JamesMurkin <jamesmurkin@hotmail.com>
  • Loading branch information
JamesMurkin committed Jan 17, 2025
1 parent 5a93ba8 commit 4a27ca0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/scheduler/scheduling/scheduling_algo.go
Original file line number Diff line number Diff line change
Expand Up @@ -253,8 +253,8 @@ func (l *FairSchedulingAlgo) newFairSchedulingAlgoContext(ctx *armadacontext.Con
// Jobs not used by the current pool belong to other pools we aren't currently considering
// Add them here, so their resource can made unallocatable in the nodeDb, preventing us scheduling over them
// The cases this is needed (a node has jobs from multiple pools is)
// - The pool of the node was changed, but still has jobs running from the pool it was previously in
// - A node running home jobs and cross-pool away jobs. In this case when scheduling the cross-pool away jobs
// - The pool of the node was changed, but still has jobs running from the pool it was previously in
// - A node running home jobs and cross-pool away jobs. In this case when scheduling the cross-pool away jobs
// we need to not schedule over resource used by the home jobs
otherPoolsJobs = append(otherPoolsJobs, jobSchedulingInfo.jobsByPool[pool.Name]...)
}
Expand Down

0 comments on commit 4a27ca0

Please sign in to comment.