From ac7c4f3cfeb09af3413d4a12f01857decdacd738 Mon Sep 17 00:00:00 2001 From: Benjamin Schubert Date: Tue, 10 Dec 2024 22:25:41 +0000 Subject: [PATCH] fixup! fixup! fixup! fixup! Allow managing dashboards in subfolders --- plugins/modules/grafana_dashboard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/modules/grafana_dashboard.py b/plugins/modules/grafana_dashboard.py index cd729bb6..5816c7db 100644 --- a/plugins/modules/grafana_dashboard.py +++ b/plugins/modules/grafana_dashboard.py @@ -250,7 +250,7 @@ def grafana_folder_exists(module, grafana_url, folder_name, parent_uid, headers) try: url = "%s/api/folders" % grafana_url if parent_uid: - url = "%s/parentUid=%s" % url, parent_uid + url = "%s/parentUid=%s" % (url, parent_uid) r, info = fetch_url(module, url, headers=headers, method="GET")