helmrepo: only log recovery msg on actual recovery
Signed-off-by: Hidde Beydals <hello@hidde.co>
This commit is contained in:
parent
c0a1099719
commit
76c4bb78bd
|
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue