Skip to content

Commit

Permalink
Merge pull request #1106 from a7i/release-1.26-patch
Browse files Browse the repository at this point in the history
fix default value assignment of EvictLocalStoragePods
  • Loading branch information
k8s-ci-robot authored Apr 3, 2023
2 parents 861c632 + bd9dea9 commit 5f1b31f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/framework/plugins/defaultevictor/defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5f1b31f

Please sign in to comment.