Skip to content

Commit

Permalink
fixup! fixup! fixup! fixup! Allow managing dashboards in subfolders
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaminSchubert committed Dec 10, 2024
1 parent ebdcb5e commit ac7c4f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/modules/grafana_dashboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ def grafana_folder_exists(module, grafana_url, folder_name, parent_uid, headers)
try:
url = "%s/api/folders" % grafana_url

Check warning on line 251 in plugins/modules/grafana_dashboard.py

View check run for this annotation

Codecov / codecov/patch

plugins/modules/grafana_dashboard.py#L251

Added line #L251 was not covered by tests
if parent_uid:
url = "%s/parentUid=%s" % url, parent_uid
url = "%s/parentUid=%s" % (url, parent_uid)

Check warning on line 253 in plugins/modules/grafana_dashboard.py

View check run for this annotation

Codecov / codecov/patch

plugins/modules/grafana_dashboard.py#L253

Added line #L253 was not covered by tests

r, info = fetch_url(module, url, headers=headers, method="GET")

Check warning on line 255 in plugins/modules/grafana_dashboard.py

View check run for this annotation

Codecov / codecov/patch

plugins/modules/grafana_dashboard.py#L255

Added line #L255 was not covered by tests

Expand Down

0 comments on commit ac7c4f3

Please sign in to comment.