Skip to content

Commit

Permalink
fix: replaced cluster workspace URL with dynamic URL that changes wit…
Browse files Browse the repository at this point in the history
…h hosting platform. (#38)
  • Loading branch information
songhan89 committed May 15, 2024
1 parent 63008a0 commit 6df6c46
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dask_databricks/databrickscluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ async def _start(self):
def dashboard_link(self):
cluster_id = spark.conf.get("spark.databricks.clusterUsageTags.clusterId")
org_id = spark.conf.get("spark.databricks.clusterUsageTags.orgId")
return f"https://dbc-dp-{org_id}.cloud.databricks.com/driver-proxy/o/{org_id}/{cluster_id}/8087/status"
workspace_url = spark.conf.get("spark.databricks.workspaceUrl")
return f"https://{workspace_url}/driver-proxy/o/{org_id}/{cluster_id}/8087/status"


def get_client():
Expand Down

0 comments on commit 6df6c46

Please sign in to comment.