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

OCPBUGS-37777: UPSTREAM: 6010: reassign err to prevent invalid return in KedaProvider GetExternalMetric #33

Merged
merged 1 commit into from
Aug 6, 2024

Conversation

maxcao13
Copy link

@maxcao13 maxcao13 commented Aug 6, 2024

Fix panic in KedaProvider when getting metrics from Metrics Service if the gRPC Server connection is not established.
Cherry-pick of kedacore#6010

@openshift-ci openshift-ci bot requested review from jkyros and joelsmith August 6, 2024 16:03
@maxcao13
Copy link
Author

maxcao13 commented Aug 6, 2024

Also fixes a formatting issue with one of the list items in the CHANGELOG.md. Not sure if that's from upstream or from us :-)

…r `GetExternalMetric`

Signed-off-by: Max Cao <macao@redhat.com>
@maxcao13 maxcao13 changed the title UPSTREAM 6010: reassign err to prevent invalid return in KedaProvider GetExternalMetric UPSTREAM: 6010: reassign err to prevent invalid return in KedaProvider GetExternalMetric Aug 6, 2024
@joelsmith
Copy link

/approve
/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Aug 6, 2024
Copy link

openshift-ci bot commented Aug 6, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: joelsmith, maxcao13

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:

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

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 6, 2024
Copy link

openshift-ci bot commented Aug 6, 2024

@maxcao13: all tests passed!

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@openshift-merge-bot openshift-merge-bot bot merged commit 744d012 into openshift:main Aug 6, 2024
8 checks passed
@maxcao13 maxcao13 deleted the cherry-pick-6010 branch August 6, 2024 19:16
@maxcao13 maxcao13 changed the title UPSTREAM: 6010: reassign err to prevent invalid return in KedaProvider GetExternalMetric OCPBUGS-37777: UPSTREAM: 6010: reassign err to prevent invalid return in KedaProvider GetExternalMetric Aug 7, 2024
@openshift-ci-robot
Copy link

@maxcao13: Jira Issue OCPBUGS-37777 is in an unrecognized state (ON_QA) and will not be moved to the MODIFIED state.

In response to this:

Fix panic in KedaProvider when getting metrics from Metrics Service if the gRPC Server connection is not established.
Cherry-pick of kedacore#6010

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@maxcao13
Copy link
Author

maxcao13 commented Aug 7, 2024

/refresh

@maxcao13 maxcao13 changed the title OCPBUGS-37777: UPSTREAM: 6010: reassign err to prevent invalid return in KedaProvider GetExternalMetric OCPBUGS-37777: UPSTREAM: 6010: reassign err to prevent invalid return in KedaProvider GetExternalMetric Aug 7, 2024
@maxcao13 maxcao13 changed the title OCPBUGS-37777: UPSTREAM: 6010: reassign err to prevent invalid return in KedaProvider GetExternalMetric UPSTREAM: 6010: reassign err to prevent invalid return in KedaProvider GetExternalMetric Aug 7, 2024
@maxcao13 maxcao13 changed the title UPSTREAM: 6010: reassign err to prevent invalid return in KedaProvider GetExternalMetric OCPBUGS-37777: UPSTREAM: 6010: reassign err to prevent invalid return in KedaProvider GetExternalMetric Aug 7, 2024
@openshift-ci-robot
Copy link

@maxcao13: Jira Issue OCPBUGS-37777: All pull requests linked via external trackers have merged:

Jira Issue OCPBUGS-37777 has been moved to the MODIFIED state.

In response to this:

Fix panic in KedaProvider when getting metrics from Metrics Service if the gRPC Server connection is not established.
Cherry-pick of kedacore#6010

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants