Skip to content

Commit dde0ed4

Browse files
committed
Update the params
1 parent 250831c commit dde0ed4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sync/databricks/integrations/_run_submit_runner.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def apply_sync_gradient_cluster_recommendation(
3737
else:
3838
logger.warning(f"Unable to generate recommendation. Falling back to original cluster - "
3939
f"app_id: {gradient_app_id}, project_id: {project_id}, "
40-
f"auto_apply: {auto_apply}, cluster: {run_submit_task["new_cluster"]}")
40+
f"auto_apply: {auto_apply}, cluster: {run_submit_task['new_cluster']}")
4141
updated_cluster = run_submit_task["new_cluster"]
4242
else:
4343
updated_cluster = run_submit_task["new_cluster"]
@@ -46,7 +46,7 @@ def apply_sync_gradient_cluster_recommendation(
4646
if resp.result:
4747
configured_cluster = resp.result
4848
run_submit_task["new_cluster"] = configured_cluster
49-
run_submit_task = apply_webhook_notification(workspace_id, run_submit_task)
49+
run_submit_task = apply_webhook_notification(workspace_config, run_submit_task)
5050
else:
5151
logger.error("Unable to apply gradient configuration to databricks run submit call. "
5252
"Submitting original run submit call.")

0 commit comments

Comments
 (0)