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

This commit is contained in:
James Rasell 2023-08-17 16:17:43 +01:00 committed by GitHub
parent 66809615f4
commit 1397ec4ad6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 7 deletions

View File

@ -787,10 +787,3 @@ func isValidForDisconnectedNode(plan *structs.Plan, nodeID string) bool {
return true
}
func max(a, b uint64) uint64 {
if a > b {
return a
}
return b
}