NewPodEvictor: drop nodes parameter

This commit is contained in:
Jan Chaloupka
2024-06-22 15:08:00 +02:00
parent cdbd101eae
commit 0901cb18bf
19 changed files with 65 additions and 42 deletions
@@ -490,7 +490,6 @@ func TestHighNodeUtilization(t *testing.T) {
false,
nil,
nil,
testCase.nodes,
false,
eventRecorder,
)
@@ -642,7 +641,6 @@ func TestHighNodeUtilizationWithTaints(t *testing.T) {
false,
&item.evictionsExpected,
nil,
item.nodes,
false,
eventRecorder,
)
@@ -892,7 +892,6 @@ func TestLowNodeUtilization(t *testing.T) {
false,
nil,
nil,
test.nodes,
false,
eventRecorder,
)
@@ -1064,7 +1063,6 @@ func TestLowNodeUtilizationWithTaints(t *testing.T) {
false,
&item.evictionsExpected,
nil,
item.nodes,
false,
eventRecorder,
)