sched: Make baseScheduler publicly accessible

This commit is contained in:
Akash Kothawale 2018-01-30 14:12:37 -05:00 committed by Pradyumna Kaushik
parent 9599588fb5
commit 6f0f3788b9
7 changed files with 57 additions and 58 deletions

View file

@ -26,7 +26,7 @@ func buildScheduler(s sched.Scheduler, opts ...schedPolicyOption) {
}
func SchedFactory(opts ...schedPolicyOption) sched.Scheduler {
s := &baseScheduler{}
s := &BaseScheduler{}
buildScheduler(s, opts...)
return s
}