Skip to content

Commit 205909c

Browse files
committed
mypy
1 parent 4d54955 commit 205909c

File tree

1 file changed

+2
-2
lines changed
  • services/dynamic-sidecar/src/simcore_service_dynamic_sidecar/modules

1 file changed

+2
-2
lines changed

services/dynamic-sidecar/src/simcore_service_dynamic_sidecar/modules/mounted_fs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ async def iter_state_paths_to_docker_volumes(
162162
def setup_mounted_fs(app: FastAPI) -> MountedVolumes:
163163
settings: ApplicationSettings = app.state.settings
164164

165-
app.state.mounted_volumes = MountedVolumes(
165+
app.state.mounted_volumes = volumes = MountedVolumes(
166166
service_run_id=settings.DY_SIDECAR_RUN_ID,
167167
node_id=settings.DY_SIDECAR_NODE_ID,
168168
inputs_path=settings.DY_SIDECAR_PATH_INPUTS,
@@ -174,4 +174,4 @@ def setup_mounted_fs(app: FastAPI) -> MountedVolumes:
174174
dy_volumes=settings.DYNAMIC_SIDECAR_DY_VOLUMES_MOUNT_DIR,
175175
)
176176

177-
return app.state.mounted_volumes
177+
return volumes

0 commit comments

Comments
 (0)