You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Bug
When we have a "Ad hoc filters" variable created, linter will exit with error
Error: failed to parse dashboard: invalid type for field 'query': <nil>
Expected behaviour
The code should be able to handle "ad hoc filters" and not throw an error when they exist.
Steps to reproduce
Just create a variable "Ad hoc filters" in your dashboard and run the linter.
For example:
The text was updated successfully, but these errors were encountered: