File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ in progress
7
7
===========
8
8
- Fixed 404 error on "dash-folder" type when enumerating dashboards.
9
9
Thanks, @oxy-star and @GarbageYard.
10
+ - Fixed collecting data sources defined by dashboard variables. Thanks,
11
+ @GrgDev, @cronosnull, and @nikodemas.
10
12
11
13
2025-03-18 0.23.0
12
14
=================
Original file line number Diff line number Diff line change @@ -715,10 +715,10 @@ def add(item):
715
715
# Datasources defined as variables.
716
716
if "type" in node and node ["type" ] == "datasource" :
717
717
values = to_list (node .get ("current" , {}).get ("value" ))
718
- for ds_uid in values :
719
- datasource = self .datasource_by_uid .get (ds_uid )
718
+ for ds_name in values :
719
+ datasource = self .datasource_by_name .get (ds_name )
720
720
if datasource is None :
721
- log .warning (f"Data source '{ ds_uid } ' not found" )
721
+ log .warning (f"Data source '{ ds_name } ' not found" )
722
722
continue
723
723
ds = dict (
724
724
type = datasource .get ("type" ),
You can’t perform that action at this time.
0 commit comments