1
0
mirror of https://github.com/kubernetes-sigs/descheduler.git synced 2026-01-26 05:14:13 +01:00

Switch PodsHavingTooManyRestarts params to pointer

This commit is contained in:
Mike Dame
2020-05-06 10:48:36 -04:00
parent 78eef6c343
commit fa335c782f
7 changed files with 17 additions and 12 deletions

View File

@@ -48,7 +48,7 @@ type DeschedulerStrategy struct {
type StrategyParameters struct {
NodeResourceUtilizationThresholds *NodeResourceUtilizationThresholds
NodeAffinityType []string
PodsHavingTooManyRestarts PodsHavingTooManyRestarts
PodsHavingTooManyRestarts *PodsHavingTooManyRestarts
}
type Percentage float64