Skip to content

Commit

Permalink
Set WorkScheduler in controllers
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilipAB committed Jun 7, 2024
1 parent 31918e2 commit 3daf235
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions v3/services/sessionsvc/internal/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ func NewSessionController(
vmClaimClient: vmClaimClient,
}
sessionController.SetReconciler(sessionController)
sessionController.SetWorkScheduler(sessionController)

return sessionController, nil
}
Expand Down
1 change: 1 addition & 0 deletions v3/services/vmclaimsvc/internal/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ func NewVMClaimController(
vmTemplateClient: vmTemplateClient,
}
vmClaimController.SetReconciler(vmClaimController)
vmClaimController.SetWorkScheduler(vmClaimController)

return vmClaimController, nil
}
Expand Down
1 change: 1 addition & 0 deletions v3/services/vmsetsvc/internal/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ func NewVMSetController(
vmTemplateClient: vmTemplateClient,
}
vmSetController.SetReconciler(vmSetController)
vmSetController.SetWorkScheduler(vmSetController)

return vmSetController, nil
}
Expand Down
1 change: 1 addition & 0 deletions v3/services/vmsvc/internal/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ func NewVMController(
vmTemplateClient: vmTemplateClient,
}
vmController.SetReconciler(vmController)
vmController.SetWorkScheduler(vmController)

return vmController, nil
}
Expand Down

0 comments on commit 3daf235

Please sign in to comment.