sched: Make baseScheduler
publicly accessible
This commit is contained in:
parent
9599588fb5
commit
6f0f3788b9
7 changed files with 57 additions and 58 deletions
|
@ -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
|
||||
}
|
||||
|
|
Reference in a new issue