Merge pull request #116502 from sourcelliu/removecast

Remove unnecessary int64 type conversion
This commit is contained in:
Kubernetes Prow Robot
2023-03-13 21:17:08 -07:00
committed by GitHub

View File

@@ -57,5 +57,5 @@ func leastRequestedScore(requested, capacity int64) int64 {
return 0
}
return ((capacity - requested) * int64(framework.MaxNodeScore)) / capacity
return ((capacity - requested) * framework.MaxNodeScore) / capacity
}