Skip to content

Commit 76c4bb7

Browse files
committed
helmrepo: only log recovery msg on actual recovery
Signed-off-by: Hidde Beydals <[email protected]>
1 parent c0a1099 commit 76c4bb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controllers/helmrepository_controller.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -318,8 +318,8 @@ func (r *HelmRepositoryReconciler) notify(ctx context.Context, oldObj, newObj *s
318318
if sreconcile.FailureRecovery(oldObj, newObj, helmRepositoryFailConditions) {
319319
r.AnnotatedEventf(newObj, annotations, corev1.EventTypeNormal,
320320
meta.SucceededReason, message)
321+
ctrl.LoggerFrom(ctx).Info(message)
321322
}
322-
ctrl.LoggerFrom(ctx).Info(message)
323323
}
324324
}
325325
}

0 commit comments

Comments
 (0)