Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

task job mgr: use broadcast_mgr.get_updated_rtconfig interface #6352

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 2 additions & 11 deletions cylc/flow/task_job_mgr.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,6 @@
is_remote_platform
)
from cylc.flow.job_file import JobFileWriter
from cylc.flow.parsec.util import (
pdeepcopy,
poverride
)
from cylc.flow.pathutil import get_remote_workflow_run_job_dir
from cylc.flow.platforms import (
get_host_from_platform,
Expand Down Expand Up @@ -1116,14 +1112,9 @@ def _prep_submit_task_job(
return itask

# Handle broadcasts
overrides = self.task_events_mgr.broadcast_mgr.get_broadcast(
itask.tokens
rtconfig = self.task_events_mgr.broadcast_mgr.get_updated_rtconfig(
itask
)
if overrides:
rtconfig = pdeepcopy(itask.tdef.rtconfig)
poverride(rtconfig, overrides, prepend=True)
else:
rtconfig = itask.tdef.rtconfig

# BACK COMPAT: host logic
# Determine task host or platform now, just before job submission,
Expand Down
Loading