Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
tchaton committed Jun 18, 2024
1 parent f88aef6 commit 57e0a78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lightning/app/launcher/launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,8 @@ def run_lightning_work(
parallel=True,
command=script_command,
)
work._name = os.getenv("LIGHTNING_CLOUD_WORK_NAME", "")

work_name = os.getenv("LIGHTNING_CLOUD_WORK_NAME", "")
work._name = work_name
else:
queue = queues.get_work_queue(work_name=work_name, queue_id=queue_id)
work = queue.get()
Expand Down

0 comments on commit 57e0a78

Please sign in to comment.