oc-scheduler -> scheduling + logs
This commit is contained in:
@@ -7,6 +7,8 @@ import (
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"oc-scheduler/infrastructure/planner"
|
||||
|
||||
oclib "cloud.o-forge.io/core/oc-lib"
|
||||
"cloud.o-forge.io/core/oc-lib/models/booking"
|
||||
"cloud.o-forge.io/core/oc-lib/models/common/enum"
|
||||
@@ -14,7 +16,6 @@ import (
|
||||
"cloud.o-forge.io/core/oc-lib/models/resources/purchase_resource"
|
||||
"cloud.o-forge.io/core/oc-lib/models/utils"
|
||||
"cloud.o-forge.io/core/oc-lib/tools"
|
||||
"oc-scheduler/infrastructure/planner"
|
||||
)
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
@@ -31,7 +32,7 @@ type SchedulingResourcesService struct {
|
||||
|
||||
var singleton *SchedulingResourcesService
|
||||
|
||||
func init() {
|
||||
func InitSchedulingResource() {
|
||||
singleton = &SchedulingResourcesService{}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user