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

fix if condition for the right value of EvictLocalStoragePods

Signed-off-by: yanggang <gang.yang@daocloud.io>
This commit is contained in:
yanggang
2023-04-02 08:13:01 +08:00
committed by Amir Alavi
parent 861c6325f3
commit bd9dea9979

View File

@@ -28,7 +28,7 @@ func SetDefaults_DefaultEvictorArgs(obj *DefaultEvictorArgs) {
obj.NodeSelector = ""
}
if !obj.EvictLocalStoragePods {
obj.EvictSystemCriticalPods = false
obj.EvictLocalStoragePods = false
}
if !obj.EvictSystemCriticalPods {
obj.EvictSystemCriticalPods = false