Skip to content

Commit 5f0f06b

Browse files
authored
bugfix: setup of mounts (#1740)
1 parent 27668dd commit 5f0f06b

File tree

1 file changed

+2
-2
lines changed
  • services/director/src/simcore_service_director

1 file changed

+2
-2
lines changed

services/director/src/simcore_service_director/producer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,9 +297,9 @@ async def _create_docker_service_params(
297297
)
298298
elif param["name"] == "mount":
299299
log.debug("Found mount parameter %s", param["value"])
300-
mount_settings = _parse_mount_settings(param["value"])
300+
mount_settings: List[Dict] = _parse_mount_settings(param["value"])
301301
if mount_settings:
302-
docker_params["task_template"]["ContainerSpec"]["Mounts"].append(
302+
docker_params["task_template"]["ContainerSpec"]["Mounts"].extend(
303303
mount_settings
304304
)
305305

0 commit comments

Comments
 (0)