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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user