-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 49326, 49394, 49346, 49379, 49399) Pass clientset's Interface to CreateScheduler. **What this PR does / why we need it**: CreateSchedueler takes clientset.Clientset param and passes it to NewConfigFactory which takes clientset.Interface. It'd be better for CreateSchedueler to take clientset.Interface to be in sync with NewConfigFactory and it would be easier to reuse CreateSchedueler in implementations which relies on interface rather than actual client implementation. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # No issue. @kubernetes/sig-scheduling-pr-reviews @bsalamat
e57e9afb