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