mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Remove unnecessary int64 type conversion
Signed-off-by: mantuliu <240951888@qq.com>
This commit is contained in:
parent
ead7d66ee1
commit
4204251acf
@ -57,5 +57,5 @@ func leastRequestedScore(requested, capacity int64) int64 {
|
|||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
return ((capacity - requested) * int64(framework.MaxNodeScore)) / capacity
|
return ((capacity - requested) * framework.MaxNodeScore) / capacity
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user