Skip to content

Commit

Permalink
[ux] display human-readable name for controller (#4376)
Browse files Browse the repository at this point in the history
  • Loading branch information
cg505 authored Nov 18, 2024
1 parent bf4ef4d commit a441aab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sky/execution.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,8 @@ def _execute(
cluster_name)
if controller is not None:
logger.info(
f'Choosing resources for {controller.name}...')
f'Choosing resources for {controller.value.name}...'
)
dag = sky.optimize(dag, minimize=optimize_target)
task = dag.tasks[0] # Keep: dag may have been deep-copied.
assert task.best_resources is not None, task
Expand Down

0 comments on commit a441aab

Please sign in to comment.