mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 14:37:00 +00:00
Fixing accidental hardcoding of priority function weight
This commit is contained in:
parent
08a0563933
commit
490dd1bb67
@ -137,7 +137,7 @@ func RegisterPriorityFunction(name string, function algorithm.PriorityFunction,
|
|||||||
Function: func(PluginFactoryArgs) algorithm.PriorityFunction {
|
Function: func(PluginFactoryArgs) algorithm.PriorityFunction {
|
||||||
return function
|
return function
|
||||||
},
|
},
|
||||||
Weight: 1,
|
Weight: weight,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user