helmrepo: only log recovery msg on actual recovery

Signed-off-by: Hidde Beydals <hello@hidde.co>
This commit is contained in:
Hidde Beydals 2023-02-22 22:44:12 +01:00
parent c0a1099719
commit 76c4bb78bd
1 changed files with 1 additions and 1 deletions

View File

@ -318,8 +318,8 @@ func (r *HelmRepositoryReconciler) notify(ctx context.Context, oldObj, newObj *s
if sreconcile.FailureRecovery(oldObj, newObj, helmRepositoryFailConditions) {
r.AnnotatedEventf(newObj, annotations, corev1.EventTypeNormal,
meta.SucceededReason, message)
ctrl.LoggerFrom(ctx).Info(message)
}
ctrl.LoggerFrom(ctx).Info(message)
}
}
}