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

Check if target datasource is matching the panel ds, if not set the target ds to panel ds. #660

Merged

Conversation

oscarkilhed
Copy link
Contributor

In some circumstances using datasource variables the target datasource is not matched with the panel datasource. This causes issues for datasources using DataSourceWithBackend.

This makes sure we set the target datasource to the correct datasource.

@oscarkilhed oscarkilhed marked this pull request as ready for review March 27, 2024 11:44
@dprokop dprokop added patch Increment the patch version when merged release Create a release when this pr is merged labels Mar 27, 2024
@dprokop
Copy link
Member

dprokop commented Mar 27, 2024

@oscarkilhed - I've added release/patch labels.

@oscarkilhed oscarkilhed merged commit 660dee7 into main Mar 27, 2024
3 checks passed
@oscarkilhed oscarkilhed deleted the oscark/check-if-target-datasource-is-matching-the-panel-ds branch March 27, 2024 14:21
@grafanabot
Copy link
Contributor

🚀 PR was released in v4.0.4 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch Increment the patch version when merged release Create a release when this pr is merged released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants