Skip to content

Commit

Permalink
Merge pull request #105 from consideRatio/pr/remove-unused
Browse files Browse the repository at this point in the history
Remove unused function parameter global_dash
  • Loading branch information
GeorgianaElena authored Apr 9, 2024
2 parents b8e2868 + 774a112 commit 6047e94
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ def ensure_folder(name, uid, api):
raise


def build_dashboard(dashboard_path, api, global_dash=False):

def build_dashboard(dashboard_path, api):
datasources = api("/datasources")
datasources_names = [ds["name"] for ds in datasources]

Expand Down Expand Up @@ -99,8 +98,8 @@ def layout_dashboard(dashboard):
return dashboard


def deploy_dashboard(dashboard_path, folder_uid, api, global_dash=False):
db = build_dashboard(dashboard_path, api, global_dash)
def deploy_dashboard(dashboard_path, folder_uid, api):
db = build_dashboard(dashboard_path, api)

if not db:
return
Expand Down

0 comments on commit 6047e94

Please sign in to comment.