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

Handle nil pointers and empty arrays properly in Azure Monitor Scaler #680

Merged

Conversation

jsturtevant
Copy link
Contributor

Handles nil pointers properly and adds checks for empty arrays which happens on some Azure Metric values. Adds test for extracting the values from the Azure Monitor request.

Checklist

Fixes #679

@jsturtevant jsturtevant changed the title Handle nil pointers and empty arrays properly Handle nil pointers and empty arrays properly in Azure Monitor Scaler Mar 13, 2020
@ahmelsayed ahmelsayed merged commit 2c1373e into kedacore:master Mar 16, 2020
@ahmelsayed
Copy link
Contributor

Thanks @jsturtevant!

SpiritZhou pushed a commit to SpiritZhou/keda that referenced this pull request Jul 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Azure Monitor Scaler will panic if the timeseries has no data
3 participants