Skip to content

Commit e194624

Browse files
committed
Make tool container background and sidecar foreground in GCP Batch
1 parent 3c90167 commit e194624

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pulsar/client/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1129,13 +1129,13 @@ def _launch_containers(
11291129
extra_volumes = [v.strip() for v in raw.split(",") if v.strip()]
11301130

11311131
runnable = container_command_to_gcp_runnable("pulsar-container", pulsar_submit_container)
1132-
runnable.background = True
11331132
if extra_volumes:
11341133
runnable.container.volumes = extra_volumes
11351134
job.task_groups[0].task_spec.runnables.append(runnable)
11361135

11371136
if tool_container:
11381137
tool_runnable = container_command_to_gcp_runnable("tool-container", tool_container)
1138+
tool_runnable.background = True
11391139
if extra_volumes:
11401140
tool_runnable.container.volumes = extra_volumes
11411141
job.task_groups[0].task_spec.runnables.append(tool_runnable)

0 commit comments

Comments
 (0)