nomad: remove custom max func and use Go 1.21.0 builtin (#18237)

This commit is contained in:
James Rasell
2023-08-17 15:50:29 +01:00
committed by GitHub
parent 6c34fbbc8c
commit 0490bce03e

View File

@@ -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
}