Skip to content

Commit dcbfa53

Browse files
committed
Fix 404 error on "dash-folder" dashboard type
1 parent 8d7f9ed commit dcbfa53

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

CHANGES.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ grafana-wtf changelog
55

66
in progress
77
===========
8+
- Fixed 404 error on "dash-folder" dashboard type. Thanks, @oxy-star
9+
and @GarbageYard.
810

911
2025-03-18 0.23.0
1012
=================

grafana_wtf/core.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,8 @@ def fetch_dashboards(self):
260260
log.info("Fetching dashboards one by one")
261261
results = self.data.dashboard_list
262262
for dashboard_info in results:
263+
if dashboard_info.get("type") == "dash-folder":
264+
continue
263265
self.fetch_dashboard(dashboard_info)
264266

265267
def fetch_dashboards_parallel(self):

0 commit comments

Comments
 (0)