Skip to content

Commit

Permalink
Merge pull request #2732 from juanmaia/jam/fix-typo
Browse files Browse the repository at this point in the history
Fix typo in ReconcileError logs
  • Loading branch information
k8s-ci-robot authored Oct 19, 2022
2 parents f9a6449 + bd480e3 commit 0aa4f16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/azurecluster_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ func (acr *AzureClusterReconciler) reconcileNormal(ctx context.Context, clusterS
var reconcileError azure.ReconcileError
if errors.As(err, &reconcileError) {
if reconcileError.IsTerminal() {
acr.Recorder.Eventf(clusterScope.AzureCluster, corev1.EventTypeWarning, "ReconcileErrror", errors.Wrapf(err, "failed to reconcile AzureCluster").Error())
acr.Recorder.Eventf(clusterScope.AzureCluster, corev1.EventTypeWarning, "ReconcileError", errors.Wrapf(err, "failed to reconcile AzureCluster").Error())
log.Error(err, "failed to reconcile AzureCluster", "name", clusterScope.ClusterName())
conditions.MarkFalse(azureCluster, infrav1.NetworkInfrastructureReadyCondition, infrav1.FailedReason, clusterv1.ConditionSeverityError, "")
return reconcile.Result{}, nil
Expand Down

0 comments on commit 0aa4f16

Please sign in to comment.