Skip to content

Commit

Permalink
Updated Error message
Browse files Browse the repository at this point in the history
  • Loading branch information
VaniHaripriya committed Jan 22, 2024
1 parent 1b323ee commit 341ec43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions controllers/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ var ConnectAndQueryObjStore = func(ctx context.Context, log logr.Logger, endpoin
"If using an tls S3 connection with self-signed certs, you may specify a custom CABundle " +
"to mount on the DSP API Server via the DSPA cr under the spec.apiServer.cABundle field. If you have already " +
"provided a CABundle, verify the validity of the provided CABundle."
log.Error(err, errorMessage)
log.Info(errorMessage)
return false, errors.New(errorMessage)
}

Expand Down Expand Up @@ -290,7 +290,7 @@ func (r *DSPAReconciler) retrieveAndSetExternalRoute(ctx context.Context, dsp *d
Namespace: params.Namespace,
}
if err := client.Get(ctx, namespacedName, route); err != nil {
log.Error(err, "Unable to retrieve route")
log.Info("Unable to retrieve route", "error", err)
return err
}
params.ObjectStorageConnection.ExternalRouteURL = route.Spec.Host
Expand Down

0 comments on commit 341ec43

Please sign in to comment.