From eea4952bef838916ea4e3527c2d58fd3c446643f Mon Sep 17 00:00:00 2001 From: Arjan Molenaar Date: Tue, 7 Nov 2023 13:16:38 +0100 Subject: [PATCH] feat: use slugs for workspace folders --- backend/capellacollab/sessions/routes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/capellacollab/sessions/routes.py b/backend/capellacollab/sessions/routes.py index d48bf56039..6dfbec3483 100644 --- a/backend/capellacollab/sessions/routes.py +++ b/backend/capellacollab/sessions/routes.py @@ -632,7 +632,7 @@ def request_provision_workspace( ] ), "RMT_PASSWORD": rdp_password, - "WORKSPACE_DIR": f"/workspace/projects/{project.slug}/{tool.name}/{model.version.name}", + "WORKSPACE_DIR": f"/workspace/projects/{project.slug}/{tool.slug}/{model.version.slug}", } volumes: list[operators_models.Volume] = [] warnings: list[core_models.Message] = []