Commit Graph

7 Commits

Author SHA1 Message Date
Daniel Kłobuszewski 2ee8023261 Don't break scale up with priority expander config 2022-10-11 10:52:02 +02:00
Benjamin Pineau 874cad0c79 Fix expanders unit tests
The github action hooks didn't run the unit tests on the expanders
update in #4233 (likely the known "tests don't run automatically for
new contributor" limitation).

NewStrategy became NewFilter, with a BestOptions (plural) method,
and returns a Options slice instead of a single Option.
2021-09-27 16:00:53 +02:00
Ryan McNamara 068af5bf7e Allow specification of multiple expanders
Multiple expanders can now be specified, expanders now "filter to the
tied for best" instead of "selecting the best" so the output of one
expander is now fed to the input of the next. Each expander may only
be used once to disallow bad configuration. This should not be a change
in functionality as in the event of a tie the random expander is still
used.
2021-09-23 14:31:39 -06:00
Johannes Brück 734d48f4a2
Fix priority expander falling back to random although higher priority matches 2020-07-31 07:14:36 +02:00
Lukasz Piatkowski 856e58d599 rely on listers instead of watch api 2019-04-16 13:47:54 +02:00
Łukasz Osipiuk a331e1ce5d Disable failing priority expander tests 2019-04-12 14:34:05 +02:00
Lukasz Piatkowski c5ba4b3068 priority expander 2019-03-22 10:43:20 +01:00