Skip to content

Commit

Permalink
nomad: remove custom max func and use Go 1.21.0 builtin (hashicorp#18237
Browse files Browse the repository at this point in the history
)
  • Loading branch information
jrasell authored Aug 17, 2023
1 parent 6c34fbb commit 0490bce
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions nomad/plan_apply.go
Original file line number Diff line number Diff line change
Expand Up @@ -788,10 +788,3 @@ func isValidForDisconnectedNode(plan *structs.Plan, nodeID string) bool {

return true
}

func max(a, b uint64) uint64 {
if a > b {
return a
}
return b
}

0 comments on commit 0490bce

Please sign in to comment.