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

Backend: Fix index being read from the wrong place #80

Merged
merged 1 commit into from
Nov 4, 2022

Conversation

svennergr
Copy link
Contributor

As reported in #78 alert conditions are failing for some users. Reason for this is that the index pattern was read from DataSourceSettings.Database but is actually stored at jsonData.database.

This PR fixes #78 by also reading the database from jsonData.

Copy link
Contributor

@gabor gabor left a comment

Choose a reason for hiding this comment

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

LGTM!

@svennergr svennergr merged commit 2430757 into main Nov 4, 2022
@svennergr svennergr deleted the svennergr/fix-backend-index branch November 4, 2022 09:58
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.

Using alerts on panel not working
2 participants