Skip to content

Commit 4ed39fc

Browse files
committed
Disabling machine state checker
1 parent 99cda28 commit 4ed39fc

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

main.go

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -211,10 +211,11 @@ func setupReconcilers(base utils.ReconcilerBase, mgr manager.Manager) {
211211
setupLog.Error(err, "unable to create controller", "controller", "CloudStackMachine")
212212
os.Exit(1)
213213
}
214-
if err := (&controllers.CloudStackMachineStateCheckerReconciler{ReconcilerBase: base}).SetupWithManager(mgr); err != nil {
215-
setupLog.Error(err, "unable to create controller", "controller", "CloudStackMachineStateChecker")
216-
os.Exit(1)
217-
}
214+
// Temporarily disabling machine state checker until we can solve the issue of machines not always being replaced.
215+
//if err := (&controllers.CloudStackMachineStateCheckerReconciler{ReconcilerBase: base}).SetupWithManager(mgr); err != nil {
216+
// setupLog.Error(err, "unable to create controller", "controller", "CloudStackMachineStateChecker")
217+
// os.Exit(1)
218+
//}
218219
if err := (&controllers.CloudStackIsoNetReconciler{ReconcilerBase: base}).SetupWithManager(mgr); err != nil {
219220
setupLog.Error(err, "unable to create controller", "controller", "CloudStackIsoNetReconciler")
220221
os.Exit(1)

0 commit comments

Comments
 (0)