mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 23:15:14 +00:00
Merge pull request #116502 from sourcelliu/removecast
Remove unnecessary int64 type conversion
This commit is contained in:
commit
e3cf864279
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user