Skip to content

Commit

Permalink
switch dspa resource not found err to debug
Browse files Browse the repository at this point in the history
Signed-off-by: Humair Khan <HumairAK@users.noreply.github.com>
  • Loading branch information
HumairAK authored and openshift-merge-bot[bot] committed Oct 18, 2024
1 parent 2af3249 commit 24f564b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions controllers/dspipeline_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,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) {
// TODO change this to a Debug message when doing https://issues.redhat.com/browse/RHOAIENG-1650
log.Info("DSPA resource was not found, assuming it was recently deleted, nothing to do here")
log.V(1).Info("DSPA resource was not found, assuming it was recently deleted, nothing to do here")
return ctrl.Result{}, nil
} else if err != nil {
log.Error(err, "Encountered error when fetching DSPA")
Expand Down

0 comments on commit 24f564b

Please sign in to comment.