Skip to content

Commit 6047e94

Browse files
Merge pull request #105 from consideRatio/pr/remove-unused
Remove unused function parameter global_dash
2 parents b8e2868 + 774a112 commit 6047e94

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

deploy.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,7 @@ def ensure_folder(name, uid, api):
4747
raise
4848

4949

50-
def build_dashboard(dashboard_path, api, global_dash=False):
51-
50+
def build_dashboard(dashboard_path, api):
5251
datasources = api("/datasources")
5352
datasources_names = [ds["name"] for ds in datasources]
5453

@@ -99,8 +98,8 @@ def layout_dashboard(dashboard):
9998
return dashboard
10099

101100

102-
def deploy_dashboard(dashboard_path, folder_uid, api, global_dash=False):
103-
db = build_dashboard(dashboard_path, api, global_dash)
101+
def deploy_dashboard(dashboard_path, folder_uid, api):
102+
db = build_dashboard(dashboard_path, api)
104103

105104
if not db:
106105
return

0 commit comments

Comments
 (0)