mirror of
https://github.com/kubernetes-sigs/descheduler.git
synced 2026-01-25 20:59:28 +01:00
fix if condition for the right value of EvictLocalStoragePods
Signed-off-by: yanggang <gang.yang@daocloud.io>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user