Skip to content

Commit ba2d166

Browse files
committed
fix linting
1 parent c2119ae commit ba2d166

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

internal/controller/linodecluster_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ func (r *LinodeClusterReconciler) Reconcile(ctx context.Context, req ctrl.Reques
115115

116116
isPaused, conditionChanged, err := paused.EnsurePausedCondition(ctx, clusterScope.Client, clusterScope.Cluster, clusterScope.LinodeCluster)
117117
if err != nil {
118-
return err
118+
return return ctrl.Result{}, err
119119
}
120120

121121
if reconciler.IsPaused(cluster, linodeCluster) {

internal/controller/linodemachine_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ func (r *LinodeMachineReconciler) Reconcile(ctx context.Context, req ctrl.Reques
168168

169169
isPaused, conditionChanged, err := paused.EnsurePausedCondition(ctx, machineScope.Client, machineScope.Cluster, machineScope.LinodeMachine)
170170
if err != nil {
171-
return err
171+
return ctrl.Result{}, err
172172
}
173173

174174
// Stop if paused

0 commit comments

Comments
 (0)