mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-12 20:57:20 +00:00
Fixing accidental hardcoding of priority function weight
This commit is contained in:
@@ -137,7 +137,7 @@ func RegisterPriorityFunction(name string, function algorithm.PriorityFunction,
|
||||
Function: func(PluginFactoryArgs) algorithm.PriorityFunction {
|
||||
return function
|
||||
},
|
||||
Weight: 1,
|
||||
Weight: weight,
|
||||
})
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user