Skip to content

Commit cb92fc0

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

File tree

1 file changed

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

1 file changed

+2
-4
lines changed

components/node-labeler/cmd/run.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -215,10 +215,8 @@ func (r *PodReconciler) Reconcile(ctx context.Context, req reconcile.Request) (r
215215

216216
err = checkTCPPortIsReachable(ipAddress, port)
217217
if err != nil {
218-
log.WithField("host", ipAddress).WithField("port", port).
219-
WithField("pod", pod.Name).
220-
WithError(err).Error("checking if TCP port is open")
221-
return reconcile.Result{RequeueAfter: time.Second * 5}, nil
218+
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
222220
}
223221

224222
if component == registryFacade {

0 commit comments

Comments
 (0)