mirror of
https://github.com/kemko/nomad.git
synced 2026-01-04 17:35:43 +03:00
nomad: remove custom max func and use Go 1.21.0 builtin (#18237)
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user