File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -252,16 +252,15 @@ def handle_grafana_error(self, ex):
252252 def fetch_dashboard (self , dashboard_info ):
253253 log .debug (f'Fetching dashboard "{ dashboard_info ["title" ]} " ({ dashboard_info ["uid" ]} )' )
254254 dashboard = self .grafana .dashboard .get_dashboard (dashboard_info ["uid" ])
255- self .data .dashboards .append (dashboard )
255+ if dashboard_info .get ("type" ) != "dash-folder" :
256+ self .data .dashboards .append (dashboard )
256257 if self .taqadum is not None :
257258 self .taqadum .update (1 )
258259
259260 def fetch_dashboards (self ):
260261 log .info ("Fetching dashboards one by one" )
261262 results = self .data .dashboard_list
262263 for dashboard_info in results :
263- if dashboard_info .get ("type" ) == "dash-folder" :
264- continue
265264 self .fetch_dashboard (dashboard_info )
266265
267266 def fetch_dashboards_parallel (self ):
You can’t perform that action at this time.
0 commit comments