Skip to content

Commit

Permalink
Tweak name in cluster.job_script(). (#439)
Browse files Browse the repository at this point in the history
Add comment as well.
  • Loading branch information
lesteve committed Jun 6, 2020
1 parent 45eaa84 commit 5ef4ebe
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion dask_jobqueue/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,12 @@ def _dummy_job(self):
try:
return self.job_cls(
address or "tcp://<insert-scheduler-address-here>:8786",
name="name",
# The 'name' parameter is replaced inside Job class by the
# actual Dask worker name. Using 'dummy-name here' to make it
# more clear that cluster.job_script() is similar to but not
# exactly the same script as the script submitted for each Dask
# worker
name="dummy-name",
**self._job_kwargs
)
except TypeError as exc:
Expand Down

0 comments on commit 5ef4ebe

Please sign in to comment.