Skip to content
Snippets Groups Projects
Commit 4accf7fb authored by Bjarke Madsen's avatar Bjarke Madsen
Browse files

use token_request instead

parent 531ec254
No related branches found
No related tags found
No related merge requests found
......@@ -460,8 +460,9 @@ def provision(config):
# get dashboard UIDs from ignored folders
# and make sure we don't touch them
for name in ignored_folders:
folder = find_folder(request, name)
to_ignore = list_dashboards(request, folder['id'])
logger.info(f'Ignoring dashboards under the folder {org["name"]}/{name}')
folder = find_folder(token_request, name)
to_ignore = list_dashboards(token_request, folder['id'])
for dash in to_ignore:
# mark it updated, so we don't modify it.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment