]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Fix for ResourcesManager::AddResource
authorOvidiu Mircescu <ovidiu.mircescu@edf.fr>
Wed, 3 Jun 2020 21:43:49 +0000 (23:43 +0200)
committerOvidiu Mircescu <ovidiu.mircescu@edf.fr>
Wed, 3 Jun 2020 21:43:49 +0000 (23:43 +0200)
src/ResourcesManager/SALOME_ResourcesManager_Common.cxx

index 786c2dc17ad51dd02ccf6a75d2f1cc88b1cde7e6..99a05b63b7a0e2d41fb6de03ad9e7b809b746a36 100644 (file)
@@ -97,6 +97,7 @@ ParserResourcesType resourceDefinition_CORBAtoCPP(const Engines::ResourceDefinit
   resource.setResourceTypeStr(resDef.type.in());
   resource.OS = resDef.OS;
   resource.AppliPath = resDef.applipath;
+  resource.DataForSort._Name = resDef.name;
   resource.DataForSort._memInMB = resDef.mem_mb;
   resource.DataForSort._CPUFreqMHz = resDef.cpu_clock;
   resource.DataForSort._nbOfNodes = resDef.nb_node;