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

Ignored query field check for adhoc variables #42

Merged
merged 2 commits into from
Apr 8, 2022

Conversation

antoniocascais
Copy link

@antoniocascais antoniocascais commented Apr 8, 2022

As stated in #41,
the linter will throw an error when the grafana dashboard has a variable
of type "adhoc".

This commit will ignore the query type check for "adhoc" variables and
will fix the issue mentioned above.

Fixes #41

As stated in <grafana#41>,
the linter will throw an error when the grafana dashboard has a variable
of type "adhoc".

This commit will ignore the query type check for "adhoc" variables and
will fix the issue mentioned above.
@antoniocascais
Copy link
Author

It is my first commit in this repo, so I don't know if the changes make sense or not. Please propose an alternative solution in case this one is not ideal :)

@tomwilkie
Copy link
Contributor

Hi @antoniocascais - thank you for you contribution! I think this makes perfect sense ;-)

LGTM

Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
@tomwilkie tomwilkie merged commit b59eb6e into grafana:main Apr 8, 2022
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.

Linter will throw an error when a "Ad hoc filters" variable is used
2 participants