File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
sync/databricks/integrations Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ def apply_sync_gradient_cluster_recommendation(
37
37
else :
38
38
logger .warning (f"Unable to generate recommendation. Falling back to original cluster - "
39
39
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' ]} " )
41
41
updated_cluster = run_submit_task ["new_cluster" ]
42
42
else :
43
43
updated_cluster = run_submit_task ["new_cluster" ]
@@ -46,7 +46,7 @@ def apply_sync_gradient_cluster_recommendation(
46
46
if resp .result :
47
47
configured_cluster = resp .result
48
48
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 )
50
50
else :
51
51
logger .error ("Unable to apply gradient configuration to databricks run submit call. "
52
52
"Submitting original run submit call." )
You can’t perform that action at this time.
0 commit comments