mirror of
https://github.com/kubernetes-sigs/descheduler.git
synced 2026-01-28 06:29:29 +01:00
run: gofumpt -w -extra .
Enable gofumpt in golangci Signed-off-by: Furkan <furkan.turkal@trendyol.com>
This commit is contained in:
@@ -282,8 +282,8 @@ func balanceDomains(
|
||||
constraintTopologies map[topologyPair][]*v1.Pod,
|
||||
sumPods float64,
|
||||
isEvictable func(pod *v1.Pod) bool,
|
||||
nodes []*v1.Node) {
|
||||
|
||||
nodes []*v1.Node,
|
||||
) {
|
||||
idealAvg := sumPods / float64(len(constraintTopologies))
|
||||
sortedDomains := sortDomains(constraintTopologies, isEvictable)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user