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 imported Alarm Dashboard's filter value from string to struct #240

Merged
merged 1 commit into from
Nov 2, 2023

Conversation

fridgepoet
Copy link
Member

@fridgepoet fridgepoet commented Nov 1, 2023

What this PR does / why we need it:
This PR changes the dashboard JSON's filter value from a simple string to the expected struct.
The structure changed about a year ago: https://github.com/grafana/grafana-iot-twinmaker-app/pull/118/files#diff-c4f0fcff0253fa91c051c3b3a8897168273aa7c3a5cc78b9dbfbaa58f21a88d0L34

Which issue(s) this PR fixes:

Fixes #239

Special notes for your reviewer:
Here's how this change looks (no more error and ACTIVE is set):
Screenshot 2023-11-01 at 15 21 30

@fridgepoet fridgepoet requested a review from a team as a code owner November 1, 2023 15:32
@fridgepoet fridgepoet merged commit db75419 into main Nov 2, 2023
4 checks passed
@fridgepoet fridgepoet deleted the fix-filter-value branch November 2, 2023 17:38
@fridgepoet fridgepoet mentioned this pull request Nov 13, 2023
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.

Importable "Alarm Dashboard" shows backend json unmarshal error
2 participants