mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-04 23:17:50 +00:00
scheduler: cleanup unused parameters in unschedulableQ
This commit is contained in:
@@ -647,7 +647,7 @@ func TestUnschedulablePodsMap(t *testing.T) {
|
||||
|
||||
for _, test := range tests {
|
||||
t.Run(test.name, func(t *testing.T) {
|
||||
upm := newUnschedulablePodsMap(nil)
|
||||
upm := newUnschedulablePodsMap()
|
||||
for _, p := range test.podsToAdd {
|
||||
upm.addOrUpdate(newPodInfoNoTimestamp(p))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user