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

Actually unmarshal dashboard template options and current value. Resolves #35 #38

Merged
merged 2 commits into from
Apr 8, 2022

Conversation

rgeyer
Copy link
Collaborator

@rgeyer rgeyer commented Apr 6, 2022

Turns out the work that is described in #35 was already complete in the variables.go file, quite elegantly I might add.

The error described in that issue was the result of some of the template properties not getting unmarshalled, which this PR resolves.

This also cherry-picks the lint fix from #37

@rgeyer rgeyer requested a review from tomwilkie April 6, 2022 17:43
@v-zhuravlev v-zhuravlev self-requested a review April 8, 2022 07:53
Copy link
Member

@rlankfo rlankfo left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@rgeyer rgeyer merged commit 03e6cf7 into main Apr 8, 2022
@rgeyer rgeyer deleted the promql-template-vars branch April 8, 2022 19:27
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.

None yet

4 participants