Skip to content

Commit 96c56f5

Browse files
Cleanup: rename scheduling/shims to scheduling/external [skip ci]
1 parent 2d44e7f commit 96c56f5

File tree

7 files changed

+6
-6
lines changed

7 files changed

+6
-6
lines changed

cmd/main.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,12 @@ import (
4848
cindere2e "github.com/cobaltcore-dev/cortex/internal/scheduling/e2e/cinder"
4949
manilae2e "github.com/cobaltcore-dev/cortex/internal/scheduling/e2e/manila"
5050
novae2e "github.com/cobaltcore-dev/cortex/internal/scheduling/e2e/nova"
51+
cinderexternal "github.com/cobaltcore-dev/cortex/internal/scheduling/external/cinder"
52+
manilaexternal "github.com/cobaltcore-dev/cortex/internal/scheduling/external/manila"
53+
novaexternal "github.com/cobaltcore-dev/cortex/internal/scheduling/external/nova"
5154
schedulinglib "github.com/cobaltcore-dev/cortex/internal/scheduling/lib"
5255
"github.com/cobaltcore-dev/cortex/internal/scheduling/reservations/commitments"
5356
reservationscontroller "github.com/cobaltcore-dev/cortex/internal/scheduling/reservations/controller"
54-
cindershims "github.com/cobaltcore-dev/cortex/internal/scheduling/shims/cinder"
55-
manilashims "github.com/cobaltcore-dev/cortex/internal/scheduling/shims/manila"
56-
novashims "github.com/cobaltcore-dev/cortex/internal/scheduling/shims/nova"
5757
"github.com/cobaltcore-dev/cortex/pkg/conf"
5858
"github.com/cobaltcore-dev/cortex/pkg/db"
5959
"github.com/cobaltcore-dev/cortex/pkg/monitoring"
@@ -304,7 +304,7 @@ func main() {
304304
setupLog.Error(err, "unable to create controller", "controller", "DecisionReconciler")
305305
os.Exit(1)
306306
}
307-
novashims.NewAPI(config, decisionController).Init(mux)
307+
novaexternal.NewAPI(config, decisionController).Init(mux)
308308
}
309309
if slices.Contains(config.EnabledControllers, "nova-deschedulings-pipeline-controller") {
310310
// Deschedulings controller
@@ -344,7 +344,7 @@ func main() {
344344
setupLog.Error(err, "unable to create controller", "controller", "DecisionReconciler")
345345
os.Exit(1)
346346
}
347-
manilashims.NewAPI(config, controller).Init(mux)
347+
manilaexternal.NewAPI(config, controller).Init(mux)
348348
}
349349
if slices.Contains(config.EnabledControllers, "cinder-decisions-pipeline-controller") {
350350
controller := &decisionscinder.DecisionPipelineController{
@@ -358,7 +358,7 @@ func main() {
358358
setupLog.Error(err, "unable to create controller", "controller", "DecisionReconciler")
359359
os.Exit(1)
360360
}
361-
cindershims.NewAPI(config, controller).Init(mux)
361+
cinderexternal.NewAPI(config, controller).Init(mux)
362362
}
363363
if slices.Contains(config.EnabledControllers, "ironcore-decisions-pipeline-controller") {
364364
controller := &decisionsmachines.DecisionPipelineController{
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)