Merged in schedPolSwitchConfigFile (pull request #8)

SchedPolSwitchConfigFile

Approved-by: Akash Kothawale <akothaw1@binghamton.edu>
This commit is contained in:
Pradyumna Kaushik 2018-02-26 01:59:09 +00:00
parent b569bd3060
commit b877d31cb8
6 changed files with 71 additions and 16 deletions

View file

@ -74,7 +74,7 @@ type BaseScheduler struct {
hasReceivedResourceOffers bool
}
func (s *BaseScheduler) init(opts ...schedPolicyOption) {
func (s *BaseScheduler) init(opts ...schedulerOptions) {
for _, opt := range opts {
// applying options
if err := opt(s); err != nil {