1
0
mirror of https://github.com/kubernetes-sigs/descheduler.git synced 2026-01-26 13:29:11 +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
parent aba0064d49
commit 90905d2c21

View File

@@ -29,7 +29,7 @@ func SetDefaults_DefaultEvictorArgs(obj runtime.Object) {
args.NodeSelector = ""
}
if !args.EvictLocalStoragePods {
args.EvictSystemCriticalPods = false
args.EvictLocalStoragePods = false
}
if !args.EvictSystemCriticalPods {
args.EvictSystemCriticalPods = false