Skip to content

Commit f8cb922

Browse files
authored
Merge pull request #8024 from killianmuldoon/pr-fix-requeue-spelling
🐛 Fix spelling of requeuing across files
2 parents 1b61819 + 3970e72 commit f8cb922

File tree

9 files changed

+14
-14
lines changed

9 files changed

+14
-14
lines changed

bootstrap/kubeadm/internal/controllers/kubeadmconfig_controller.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ func (r *KubeadmConfigReconciler) handleClusterNotInitialized(ctx context.Contex
368368

369369
// if the machine has not ClusterConfiguration and InitConfiguration, requeue
370370
if scope.Config.Spec.InitConfiguration == nil && scope.Config.Spec.ClusterConfiguration == nil {
371-
scope.Info("Control plane is not ready, requeing joining control planes until ready.")
371+
scope.Info("Control plane is not ready, requeuing joining control planes until ready.")
372372
return ctrl.Result{RequeueAfter: 30 * time.Second}, nil
373373
}
374374

@@ -381,7 +381,7 @@ func (r *KubeadmConfigReconciler) handleClusterNotInitialized(ctx context.Contex
381381
// as control plane get processed here
382382
// if not the first, requeue
383383
if !r.KubeadmInitLock.Lock(ctx, scope.Cluster, machine) {
384-
scope.Info("A control plane is already being initialized, requeing until control plane is ready")
384+
scope.Info("A control plane is already being initialized, requeuing until control plane is ready")
385385
return ctrl.Result{RequeueAfter: 30 * time.Second}, nil
386386
}
387387

controlplane/kubeadm/internal/controllers/controller.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ func (r *KubeadmControlPlaneReconciler) Reconcile(ctx context.Context, req ctrl.
211211
// Requeue if the reconcile failed because the ClusterCacheTracker was locked for
212212
// the current cluster because of concurrent access.
213213
if errors.Is(err, remote.ErrClusterLocked) {
214-
log.V(5).Info("Requeueing because another worker has the lock on the ClusterCacheTracker")
214+
log.V(5).Info("Requeuing because another worker has the lock on the ClusterCacheTracker")
215215
return ctrl.Result{Requeue: true}, nil
216216
}
217217
return res, err
@@ -222,7 +222,7 @@ func (r *KubeadmControlPlaneReconciler) Reconcile(ctx context.Context, req ctrl.
222222
// Requeue if the reconcile failed because the ClusterCacheTracker was locked for
223223
// the current cluster because of concurrent access.
224224
if errors.Is(err, remote.ErrClusterLocked) {
225-
log.V(5).Info("Requeueing because another worker has the lock on the ClusterCacheTracker")
225+
log.V(5).Info("Requeuing because another worker has the lock on the ClusterCacheTracker")
226226
return ctrl.Result{Requeue: true}, nil
227227
}
228228
return res, err

exp/addons/internal/controllers/clusterresourceset_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ func (r *ClusterResourceSetReconciler) Reconcile(ctx context.Context, req ctrl.R
155155
// Requeue if the reconcile failed because the ClusterCacheTracker was locked for
156156
// the current cluster because of concurrent access.
157157
if errors.Is(err, remote.ErrClusterLocked) {
158-
log.V(5).Info("Requeueing because another worker has the lock on the ClusterCacheTracker")
158+
log.V(5).Info("Requeuing because another worker has the lock on the ClusterCacheTracker")
159159
return ctrl.Result{Requeue: true}, nil
160160
}
161161
return ctrl.Result{}, err

internal/controllers/machine/machine_controller.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ func (r *Reconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Re
216216
// Requeue if the reconcile failed because the ClusterCacheTracker was locked for
217217
// the current cluster because of concurrent access.
218218
if errors.Is(err, remote.ErrClusterLocked) {
219-
log.V(5).Info("Requeueing because another worker has the lock on the ClusterCacheTracker")
219+
log.V(5).Info("Requeuing because another worker has the lock on the ClusterCacheTracker")
220220
return ctrl.Result{Requeue: true}, nil
221221
}
222222
return res, err
@@ -227,7 +227,7 @@ func (r *Reconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Re
227227
// Requeue if the reconcile failed because the ClusterCacheTracker was locked for
228228
// the current cluster because of concurrent access.
229229
if errors.Is(err, remote.ErrClusterLocked) {
230-
log.V(5).Info("Requeueing because another worker has the lock on the ClusterCacheTracker")
230+
log.V(5).Info("Requeuing because another worker has the lock on the ClusterCacheTracker")
231231
return ctrl.Result{Requeue: true}, nil
232232
}
233233
return res, err

internal/controllers/machine/machine_controller_phases.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ func (r *Reconciler) reconcileExternal(ctx context.Context, cluster *clusterv1.C
9898
obj, err := external.Get(ctx, r.Client, ref, m.Namespace)
9999
if err != nil {
100100
if apierrors.IsNotFound(errors.Cause(err)) {
101-
log.Info("could not find external ref, requeueing", ref.Kind, klog.KRef(m.Namespace, ref.Name))
101+
log.Info("could not find external ref, requeuing", ref.Kind, klog.KRef(m.Namespace, ref.Name))
102102
return external.ReconcileOutput{RequeueAfter: externalReadyWait}, nil
103103
}
104104
return external.ReconcileOutput{}, err
@@ -251,7 +251,7 @@ func (r *Reconciler) reconcileInfrastructure(ctx context.Context, cluster *clust
251251
m.Status.FailureReason = capierrors.MachineStatusErrorPtr(capierrors.InvalidConfigurationMachineError)
252252
m.Status.FailureMessage = pointer.String(fmt.Sprintf("Machine infrastructure resource %v with name %q has been deleted after being ready",
253253
m.Spec.InfrastructureRef.GroupVersionKind(), m.Spec.InfrastructureRef.Name))
254-
return ctrl.Result{}, errors.Errorf("could not find %v %q for Machine %q in namespace %q, requeueing", m.Spec.InfrastructureRef.GroupVersionKind().String(), m.Spec.InfrastructureRef.Name, m.Name, m.Namespace)
254+
return ctrl.Result{}, errors.Errorf("could not find %v %q for Machine %q in namespace %q, requeuing", m.Spec.InfrastructureRef.GroupVersionKind().String(), m.Spec.InfrastructureRef.Name, m.Name, m.Namespace)
255255
}
256256
return ctrl.Result{RequeueAfter: infraReconcileResult.RequeueAfter}, nil
257257
}

internal/controllers/machinehealthcheck/machinehealthcheck_controller.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ func (r *Reconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Re
177177
// Requeue if the reconcile failed because the ClusterCacheTracker was locked for
178178
// the current cluster because of concurrent access.
179179
if errors.Is(err, remote.ErrClusterLocked) {
180-
log.V(5).Info("Requeueing because another worker has the lock on the ClusterCacheTracker")
180+
log.V(5).Info("Requeuing because another worker has the lock on the ClusterCacheTracker")
181181
return ctrl.Result{Requeue: true}, nil
182182
}
183183
log.Error(err, "Failed to reconcile MachineHealthCheck")
@@ -322,7 +322,7 @@ func (r *Reconciler) reconcile(ctx context.Context, logger logr.Logger, cluster
322322

323323
// handle update errors
324324
if len(errList) > 0 {
325-
logger.V(3).Info("Error(s) marking machine, requeueing")
325+
logger.V(3).Info("Error(s) marking machine, requeuing")
326326
return reconcile.Result{}, kerrors.NewAggregate(errList)
327327
}
328328

internal/controllers/machineset/machineset_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ func (r *Reconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Re
176176
// Requeue if the reconcile failed because the ClusterCacheTracker was locked for
177177
// the current cluster because of concurrent access.
178178
if errors.Is(err, remote.ErrClusterLocked) {
179-
log.V(5).Info("Requeueing because another worker has the lock on the ClusterCacheTracker")
179+
log.V(5).Info("Requeuing because another worker has the lock on the ClusterCacheTracker")
180180
return ctrl.Result{Requeue: true}, nil
181181
}
182182
log.Error(err, "Failed to reconcile MachineSet")

test/infrastructure/docker/exp/internal/controllers/dockermachinepool_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ func (r *DockerMachinePoolReconciler) Reconcile(ctx context.Context, req ctrl.Re
132132
// Requeue if the reconcile failed because the ClusterCacheTracker was locked for
133133
// the current cluster because of concurrent access.
134134
if errors.Is(err, remote.ErrClusterLocked) {
135-
log.V(5).Info("Requeueing because another worker has the lock on the ClusterCacheTracker")
135+
log.V(5).Info("Requeuing because another worker has the lock on the ClusterCacheTracker")
136136
return ctrl.Result{Requeue: true}, nil
137137
}
138138
return res, err

test/infrastructure/docker/internal/controllers/dockermachine_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ func (r *DockerMachineReconciler) Reconcile(ctx context.Context, req ctrl.Reques
171171
// Requeue if the reconcile failed because the ClusterCacheTracker was locked for
172172
// the current cluster because of concurrent access.
173173
if errors.Is(err, remote.ErrClusterLocked) {
174-
log.V(5).Info("Requeueing because another worker has the lock on the ClusterCacheTracker")
174+
log.V(5).Info("Requeuing because another worker has the lock on the ClusterCacheTracker")
175175
return ctrl.Result{Requeue: true}, nil
176176
}
177177
return res, err

0 commit comments

Comments
 (0)