scheduler: cleanup unused parameters in unschedulableQ

This commit is contained in:
Wei Huang
2019-03-13 11:54:16 -07:00
parent 118e33dfcd
commit 2b554b4286
2 changed files with 3 additions and 3 deletions

View File

@@ -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))
}