Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create ModelRegistry component API and reconciler #1337

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update modelregistry_controller_actions.go
Co-authored-by: Gerard Ryan <git@grdryn.xyz>
  • Loading branch information
lburgazzoli and grdryn committed Nov 5, 2024
commit 5f888dadf103a981bb1ba6d2e186bfd1c317115d
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
Loading