1
0
mirror of https://github.com/kubernetes-sigs/descheduler.git synced 2026-01-26 05:14:13 +01:00

Fix eviction of pods in low node utilization strategy.

This commit is contained in:
Avesh Agarwal
2017-08-15 10:38:44 -04:00
parent 4e354de98a
commit b37db364df

View File

@@ -112,7 +112,7 @@ func LowNodeUtilization(client clientset.Interface, strategy api.ReschedulerStra
fmt.Printf("Evicted pod: %#v (%#v)\n", pod.Name, err)
n--
if n < 0 {
continue
break
}
}
@@ -127,7 +127,7 @@ func LowNodeUtilization(client clientset.Interface, strategy api.ReschedulerStra
fmt.Printf("Evicted pod: %#v (%#v)\n", pod.Name, err)
n--
if n < 0 {
continue
break
}
}
}