File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
services/director/src/simcore_service_director Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -1078,7 +1078,7 @@ async def _get_node_details(
10781078
10791079
10801080async def get_services_details (
1081- app : FastAPI , user_id : str | None , study_id : str | None
1081+ app : FastAPI , user_id : str | None , project_id : str | None
10821082) -> list [dict ]:
10831083 app_settings = get_application_settings (app )
10841084 async with docker_utils .docker_client () as client : # pylint: disable=not-async-context-manager
@@ -1091,9 +1091,10 @@ async def get_services_details(
10911091 filters .append (
10921092 f"{ _to_simcore_runtime_docker_label_key ('user_id' )} =" + user_id
10931093 )
1094- if study_id :
1094+ if project_id :
10951095 filters .append (
1096- f"{ _to_simcore_runtime_docker_label_key ('project_id' )} =" + study_id
1096+ f"{ _to_simcore_runtime_docker_label_key ('project_id' )} ="
1097+ + project_id
10971098 )
10981099 list_running_services = await client .services .list (
10991100 filters = {"label" : filters }
@@ -1104,7 +1105,7 @@ async def get_services_details(
11041105 for service in list_running_services
11051106 ]
11061107 except aiodocker .DockerError as err :
1107- msg = f"Error while accessing container for { user_id = } , { study_id = } "
1108+ msg = f"Error while accessing container for { user_id = } , { project_id = } "
11081109 raise GenericDockerError (err = msg ) from err
11091110
11101111
You can’t perform that action at this time.
0 commit comments