Skip to content

Commit bcdd927

Browse files
committed
Explore dashboards: Ignore -- Mixed -- data sources
1 parent 074d5b2 commit bcdd927

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGES.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ grafana-wtf changelog
55

66
in progress
77
===========
8+
- Explore dashboards: Ignore ``-- Mixed --`` data sources
89

910
2023-03-05 0.14.1
1011
=================

grafana_wtf/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ def explore_dashboards(self):
447447
datasources_existing = []
448448
datasources_missing = []
449449
for datasource_item in datasource_items:
450-
if datasource_item.name == "-- Grafana --":
450+
if datasource_item.name in ["-- Grafana --", "-- Mixed --"]:
451451
continue
452452
datasource_by_uid = ix.datasource_by_uid.get(datasource_item.uid)
453453
datasource_by_name = ix.datasource_by_name.get(datasource_item.name)

0 commit comments

Comments
 (0)