Skip to content

Commit fe7ee55

Browse files
author
Andrei Neagu
committed
fixed naming
1 parent 40ac24e commit fe7ee55

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

services/director-v2/src/simcore_service_director_v2/modules/dynamic_sidecar/docker_compose_specs.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ async def assemble_spec( # pylint: disable=too-many-arguments # noqa: PLR0913
279279
node_id: NodeID,
280280
simcore_user_agent: str,
281281
swarm_stack_name: str,
282-
run_id: ServiceRunID,
282+
service_run_id: ServiceRunID,
283283
) -> str:
284284
"""
285285
returns a docker-compose spec used by
@@ -352,7 +352,7 @@ async def assemble_spec( # pylint: disable=too-many-arguments # noqa: PLR0913
352352
product_name=product_name,
353353
project_id=project_id,
354354
node_id=node_id,
355-
run_id=run_id,
355+
service_run_id=service_run_id,
356356
)
357357

358358
add_egress_configuration(
@@ -391,7 +391,7 @@ async def assemble_spec( # pylint: disable=too-many-arguments # noqa: PLR0913
391391
product_name=product_name,
392392
project_id=project_id,
393393
node_id=node_id,
394-
run_id=run_id,
394+
service_run_id=service_run_id,
395395
)
396396

397397
stringified_service_spec: str = replace_env_vars_in_compose_spec(

services/director-v2/src/simcore_service_director_v2/modules/dynamic_sidecar/scheduler/_core/_events_user_services.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ async def submit_compose_sepc(app: FastAPI, scheduler_data: SchedulerData) -> No
103103
node_id=scheduler_data.node_uuid,
104104
simcore_user_agent=scheduler_data.request_simcore_user_agent,
105105
swarm_stack_name=dynamic_services_scheduler_settings.SWARM_STACK_NAME,
106-
run_id=scheduler_data.run_id,
106+
service_run_id=scheduler_data.run_id,
107107
)
108108

109109
_logger.debug(

services/director-v2/src/simcore_service_director_v2/utils/dask.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ async def compute_task_envs(
362362
product_name=product_name,
363363
project_id=project_id,
364364
node_id=node_id,
365-
run_id=resource_tracking_run_id,
365+
service_run_id=resource_tracking_run_id,
366366
)
367367
# NOTE: see https://github.com/ITISFoundation/osparc-simcore/issues/3638
368368
# we currently do not validate as we are using illegal docker key names with underscores

0 commit comments

Comments
 (0)