From f30043b4f871822fc5918cd39afe0c62a256b9b8 Mon Sep 17 00:00:00 2001 From: Anthony Geay Date: Tue, 18 Jun 2024 16:37:26 +0200 Subject: [PATCH] [EDF30157] Help to test --- src/Launcher_SWIG/Launcher.i | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Launcher_SWIG/Launcher.i b/src/Launcher_SWIG/Launcher.i index fd5bd34d0..e472ede51 100644 --- a/src/Launcher_SWIG/Launcher.i +++ b/src/Launcher_SWIG/Launcher.i @@ -382,13 +382,13 @@ def GetPlayGroundInsideASlurmJob(): d[elt]+=1 return d -def BuildCatalogFromScratch(protocol): +def BuildCatalogFromScratch(protocol,appliPath): import os d = GetPlayGroundInsideASlurmJob() rmcpp = RetrieveRMCppSingleton() rmcpp.DeleteAllResourcesInCatalog() for k,v in d.items(): - contRes = CreateContainerResource(hostname=k,applipath=os.environ["APPLI"],protocol=protocol,nbOfNodes=v) + contRes = CreateContainerResource(hostname=k,applipath=appliPath,protocol=protocol,nbOfNodes=v) rmcpp.AddResourceInCatalogNoQuestion(contRes) def GetRequestForGiveContainer(hostname, contName): -- 2.39.2