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:
@@ -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