Fix minor log in runner controller (#1175)

Log is mentioning registration only but this is about the standard runner pod
This commit is contained in:
Felipe Galindo Sanchez
2022-03-02 16:51:30 -08:00
committed by GitHub
parent 8a379ac94b
commit d20ad71071

View File

@@ -116,8 +116,7 @@ func (r *RunnerReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctr
var pod corev1.Pod
if err := r.Get(ctx, req.NamespacedName, &pod); err != nil {
if !kerrors.IsNotFound(err) {
log.Info(fmt.Sprintf("Retrying soon as we failed to get registration-only runner pod: %v", err))
log.Info(fmt.Sprintf("Retrying soon as we failed to get runner pod: %v", err))
return ctrl.Result{Requeue: true}, nil
}
}