mirror of
https://github.com/kubernetes-sigs/descheduler.git
synced 2026-01-26 13:29:11 +01:00
StrategyParameters: Add new param ThresholdPriority and ThresholdPriorityClassName
This commit is contained in:
@@ -243,6 +243,11 @@ func (in *StrategyParameters) DeepCopyInto(out *StrategyParameters) {
|
||||
(*in).DeepCopyInto(*out)
|
||||
}
|
||||
in.Namespaces.DeepCopyInto(&out.Namespaces)
|
||||
if in.ThresholdPriority != nil {
|
||||
in, out := &in.ThresholdPriority, &out.ThresholdPriority
|
||||
*out = new(int32)
|
||||
**out = **in
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user