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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -116,8 +116,7 @@ func (r *RunnerReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctr
var pod corev1.Pod var pod corev1.Pod
if err := r.Get(ctx, req.NamespacedName, &pod); err != nil { if err := r.Get(ctx, req.NamespacedName, &pod); err != nil {
if !kerrors.IsNotFound(err) { 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 return ctrl.Result{Requeue: true}, nil
} }
} }