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

[RHOAIENG-12726] - odh-model-controller crashes with empty isvc.model field #264

Merged
merged 1 commit into from
Sep 11, 2024

Conversation

spolti
Copy link
Member

@spolti spolti commented Sep 11, 2024

chore: fix nil pointer if the custom isvc does not have the model field.

Description

How Has This Been Tested?

Merge criteria:

  • The commits are squashed in a cohesive manner and have meaningful messages.
  • Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
  • The developer has manually tested the changes and verified that the changes work

… field

chore:	fix nil pointer if the custom isvc does not have the model field.

Signed-off-by: Spolti <[email protected]>
Copy link
Contributor

@VedantMahabaleshwarkar VedantMahabaleshwarkar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve

Copy link
Member

@terrytangyuan terrytangyuan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

Copy link
Contributor

openshift-ci bot commented Sep 11, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: spolti, terrytangyuan, VedantMahabaleshwarkar

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [VedantMahabaleshwarkar,spolti,terrytangyuan]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@spolti spolti changed the title [RHOAIENG-12726] - odh-model-controller crashes with empty isvc.model… [RHOAIENG-12726] - odh-model-controller crashes with empty isvc.model field Sep 11, 2024
@openshift-merge-bot openshift-merge-bot bot merged commit 9617f48 into opendatahub-io:main Sep 11, 2024
5 checks passed
@spolti spolti deleted the RHOAIENG-12726 branch September 11, 2024 14:30
VedantMahabaleshwarkar pushed a commit to VedantMahabaleshwarkar/odh-model-controller that referenced this pull request Sep 13, 2024
… field (opendatahub-io#264)

chore:	fix nil pointer if the custom isvc does not have the model field.

Signed-off-by: Spolti <[email protected]>
VedantMahabaleshwarkar added a commit that referenced this pull request Sep 13, 2024
* chore: ensure functions use inherited context (#251)

Signed-off-by: Luca Burgazzoli <[email protected]>

* Removed and replaced the IstioControlPlaneName and IstioNamespace constants to instead be fetched by env vars. (#254)

Signed-off-by: mholder6 <[email protected]>

* runtimes: remove distributed executor backend option from vllm (#257)

it's the default

Signed-off-by: Daniele Trifirò <[email protected]>

* [RHOAIENG-9746] - Missing log entry in StorageConfig controller of odh-model-controller (#263)

Signed-off-by: Spolti <[email protected]>

* [RHOAIENG-12726] - odh-model-controller crashes with empty isvc.model field (#264)

chore:	fix nil pointer if the custom isvc does not have the model field.

Signed-off-by: Spolti <[email protected]>

---------

Signed-off-by: Luca Burgazzoli <[email protected]>
Signed-off-by: mholder6 <[email protected]>
Signed-off-by: Daniele Trifirò <[email protected]>
Signed-off-by: Spolti <[email protected]>
Co-authored-by: Luca Burgazzoli <[email protected]>
Co-authored-by: Mariah Holder <[email protected]>
Co-authored-by: Daniele <[email protected]>
Co-authored-by: Filippe Spolti <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants