Skip to content

Commit c3d843f

Browse files
authored
Merge pull request #1202 from anilkumar56/improve_log
Improve log message
2 parents 3431b8a + 46a7cb7 commit c3d843f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controllers/openstackmachine_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ func (r *OpenStackMachineReconciler) reconcileDelete(ctx context.Context, scope
272272
func (r *OpenStackMachineReconciler) reconcileNormal(ctx context.Context, scope *scope.Scope, patchHelper *patch.Helper, cluster *clusterv1.Cluster, openStackCluster *infrav1.OpenStackCluster, machine *clusterv1.Machine, openStackMachine *infrav1.OpenStackMachine) (_ ctrl.Result, reterr error) {
273273
// If the OpenStackMachine is in an error state, return early.
274274
if openStackMachine.Status.FailureReason != nil || openStackMachine.Status.FailureMessage != nil {
275-
scope.Logger.Info("Error state detected, skipping reconciliation")
275+
scope.Logger.Info("Not reconciling machine in failed state. See openStackMachine.status.failureReason, openStackMachine.status.failureMessage, or previously logged error for details")
276276
return ctrl.Result{}, nil
277277
}
278278

0 commit comments

Comments
 (0)