Skip to content

Commit c6a32f7

Browse files
author
Rahul Ganesh
committed
Fix tinkerbell machine reconciliation bug
Signed-off-by: Rahul Ganesh <[email protected]>
1 parent 2fd8a2b commit c6a32f7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

controller/machine/scope.go

+2
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,8 @@ func (scope *machineReconcileScope) reconcile(hw *tinkv1.Hardware) error {
130130
if v, found := hw.ObjectMeta.GetAnnotations()[HardwareProvisionedAnnotation]; found && v == "true" {
131131
scope.log.Info("Marking TinkerbellMachine as Ready")
132132
scope.tinkerbellMachine.Status.Ready = true
133+
134+
return nil
133135
}
134136

135137
wf, err := scope.ensureTemplateAndWorkflow(hw)

0 commit comments

Comments
 (0)