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

fix(apiserver) Handle NPE for Custom Metrics Strategy #3311

Merged
merged 1 commit into from
Nov 6, 2024

Conversation

asalan316
Copy link
Contributor

@asalan316 asalan316 commented Nov 6, 2024

Problem

The apiserver throws type conversion error if the custom metric strategy is defined as null or empty in the existing binding table.

FIX

Allow empty/null values for custom metrics strategy in the binding.

@asalan316 asalan316 added the allow-acceptance-tests This label needs to be added to enable the acceptance tests to run. label Nov 6, 2024
@asalan316 asalan316 force-pushed the fix-servicebinding-npe branch from 13e6c29 to e6be753 Compare November 6, 2024 09:14
@asalan316 asalan316 marked this pull request as ready for review November 6, 2024 09:15
@asalan316 asalan316 changed the title fix-NPE for custom metrics strategy at db level fix(apiserver) Handle NPE for Custom Metrics Strategy Nov 6, 2024
@asalan316 asalan316 force-pushed the fix-servicebinding-npe branch from e6be753 to dfd049f Compare November 6, 2024 09:34
Copy link

sonarqubecloud bot commented Nov 6, 2024

@asalan316 asalan316 merged commit 64d35a8 into main Nov 6, 2024
38 checks passed
@asalan316 asalan316 deleted the fix-servicebinding-npe branch November 6, 2024 11:05
@asalan316 asalan316 added bug and removed allow-acceptance-tests This label needs to be added to enable the acceptance tests to run. labels Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants