Skip to content

Commit

Permalink
Modified the Info into Debug Log for "DSPA not found log"
Browse files Browse the repository at this point in the history
Signed-off-by: Achyut Madhusudan <amadhusu@redhat.com>
  • Loading branch information
Achyut Madhusudan committed Jul 31, 2024
1 parent 063d8fd commit 7e74d16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/dspipeline_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ func (r *DSPAReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.
dspa := &dspav1alpha1.DataSciencePipelinesApplication{}
err := r.Get(ctx, req.NamespacedName, dspa)
if err != nil && apierrs.IsNotFound(err) {
log.Info("DSPA resource was not found")
log.Debug("DSPA resource was not found, assuming it was recently deleted, nothing to do here")
return ctrl.Result{}, nil
} else if err != nil {
log.Error("Encountered error when fetching DSPA", err)
Expand Down

0 comments on commit 7e74d16

Please sign in to comment.