Skip to content

Commit

Permalink
Fix KServe event check
Browse files Browse the repository at this point in the history
  • Loading branch information
ruivieira committed Nov 13, 2023
1 parent b130223 commit ea14c3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/inference_services.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ func (r *TrustyAIServiceReconciler) patchKServe(ctx context.Context, instance *t

// Update the InferenceService
err := r.Update(ctx, &infService)
if err != nil {
if err == nil {
r.eventKServeConfigured(instance)
} else {
return fmt.Errorf("failed to update InferenceService %s/%s: %v", infService.Namespace, infService.Name, err)
Expand Down

0 comments on commit ea14c3c

Please sign in to comment.