Skip to content

Commit

Permalink
fix(metrics-operator): fix log message for AnalysisDefinition lookup (#…
Browse files Browse the repository at this point in the history
…2092)

Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
  • Loading branch information
bacherfl committed Sep 13, 2023
1 parent 579dc10 commit 598fed3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions metrics-operator/controllers/analysis/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ func (a *AnalysisReconciler) Reconcile(ctx context.Context, req ctrl.Request) (c
if err != nil {
if errors.IsNotFound(err) {
a.Log.Info(
fmt.Sprintf("AnalysisDefinition '%s' isn namespace '%s' not found, requeue",
fmt.Sprintf("AnalysisDefinition '%s' in namespace '%s' not found, requeue",
analysis.Spec.AnalysisDefinition.Name,
analysis.Spec.AnalysisDefinition.Name),
analysis.Spec.AnalysisDefinition.Namespace),
)
return ctrl.Result{Requeue: true, RequeueAfter: 10 * time.Second}, nil
}
Expand Down

0 comments on commit 598fed3

Please sign in to comment.