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

Merge pull request #1104 from yanggangtony/fix-default-plugin

fix default value assignment of EvictLocalStoragePods
This commit is contained in:
Kubernetes Prow Robot
2023-04-02 14:47:51 -07:00
committed by GitHub

View File

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