Skip to content

Commit 896db22

Browse files
committed
1
Signed-off-by: Manuel de Brito Fontes <[email protected]>
1 parent cb92fc0 commit 896db22

File tree

1 file changed

+2
-2
lines changed
  • components/node-labeler/cmd

1 file changed

+2
-2
lines changed

components/node-labeler/cmd/run.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ var runCmd = &cobra.Command{
9797
&handler.EnqueueRequestForObject{},
9898
builder.WithPredicates(filterPredicate),
9999
).
100-
WithOptions(controller.Options{MaxConcurrentReconciles: 20}).
100+
WithOptions(controller.Options{MaxConcurrentReconciles: 1}).
101101
Complete(r)
102102
if err != nil {
103103
log.WithError(err).Fatal("unable to bind controller watch event handler")
@@ -216,7 +216,7 @@ func (r *PodReconciler) Reconcile(ctx context.Context, req reconcile.Request) (r
216216
err = checkTCPPortIsReachable(ipAddress, port)
217217
if err != nil {
218218
log.WithField("host", ipAddress).WithField("port", port).WithField("pod", pod.Name).WithError(err).Error("checking if TCP port is open")
219-
return reconcile.Result{RequeueAfter: time.Second * 10}, err
219+
return reconcile.Result{RequeueAfter: time.Second * 10}, nil
220220
}
221221

222222
if component == registryFacade {

0 commit comments

Comments
 (0)