1
0
mirror of https://github.com/kubernetes-sigs/descheduler.git synced 2026-01-28 14:41:10 +01:00

Merge pull request #1106 from a7i/release-1.26-patch

fix default value assignment of EvictLocalStoragePods
This commit is contained in:
Kubernetes Prow Robot
2023-04-03 04:17:52 -07:00
committed by GitHub

View File

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