1
0
mirror of https://github.com/kubernetes-sigs/descheduler.git synced 2026-01-26 21:31:18 +01:00

fix pull-descheduler-verify-master build error

This commit is contained in:
vlc刘诚
2022-09-24 09:08:06 +08:00
parent bfb688e016
commit ac0261fafb
7 changed files with 11 additions and 11 deletions

View File

@@ -24,7 +24,7 @@ func addDefaultingFuncs(scheme *runtime.Scheme) error {
// SetDefaults_LowNodeUtilizationArgs
// TODO: the final default values would be discussed in community
func SetDefaults_LowNodeUtilizationArgs(obj *LowNodeUtilizationArgs) {
if obj.UseDeviationThresholds == false {
if !obj.UseDeviationThresholds {
obj.UseDeviationThresholds = false
}
if obj.Thresholds == nil {