Skip to content

Commit

Permalink
Update modelregistry_controller_actions.go
Browse files Browse the repository at this point in the history
Co-authored-by: Gerard Ryan <git@grdryn.xyz>
  • Loading branch information
lburgazzoli and grdryn authored Nov 4, 2024
1 parent 431f9c9 commit ddf3667
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const (
func gate(_ context.Context, rr *odhtypes.ReconciliationRequest) error {
mr, ok := rr.Instance.(*componentsv1.ModelRegistry)
if !ok {
return fmt.Errorf("resource instance %v is not a ResourceObject", rr.Instance)
return fmt.Errorf("resource instance %v is not a componentsv1.ModelRegistry", rr.Instance)
}

if rr.DSCI.Spec.ServiceMesh != nil && rr.DSCI.Spec.ServiceMesh.ManagementState == operatorv1.Managed {
Expand Down

0 comments on commit ddf3667

Please sign in to comment.