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

Compare commits

...

2 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
5f1b31fcfc Merge pull request #1106 from a7i/release-1.26-patch
fix default value assignment of EvictLocalStoragePods
2023-04-03 04:17:52 -07:00
yanggang
bd9dea9979 fix if condition for the right value of EvictLocalStoragePods
Signed-off-by: yanggang <gang.yang@daocloud.io>
2023-04-02 20:20:36 -04:00

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