Skip to content

Commit

Permalink
Merge pull request opendatahub-io#398 from israel-hdez/cp-fixes
Browse files Browse the repository at this point in the history
[release-v0.12.1]  inferenceservice controller: fix error check in Serverless mode
  • Loading branch information
openshift-merge-bot[bot] authored Aug 7, 2024
2 parents 5c903a4 + 249513f commit ab57af4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller/v1beta1/inferenceservice/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ func (r *InferenceServiceReconciler) Reconcile(ctx context.Context, req ctrl.Req
// Abort early if the resolved deployment mode is Serverless, but Knative Services are not available
if deploymentMode == constants.Serverless {
ksvcAvailable, checkKsvcErr := utils.IsCrdAvailable(r.ClientConfig, knservingv1.SchemeGroupVersion.String(), constants.KnativeServiceKind)
if err != nil {
if checkKsvcErr != nil {
return reconcile.Result{}, checkKsvcErr
}

Expand Down

0 comments on commit ab57af4

Please sign in to comment.