Salome HOME
Explicitly indicate batch managers with limited support
[modules/jobmanager.git] / src / engine / BL_SALOMEServices.cxx
index f237f448613502f2e84e1ae192a842013141a703..1b579e5877623010ff0ae570232faa27867c0b65 100644 (file)
@@ -179,7 +179,7 @@ BL::SALOMEServices::addResource(BL::ResourceDescr & new_resource)
 
   resource_definition->name = CORBA::string_dup(new_resource.name.c_str());
   resource_definition->hostname = CORBA::string_dup(new_resource.hostname.c_str());
-  if (new_resource.batch == "" || new_resource.batch == "ssh_batch")
+  if (new_resource.batch == "ssh_batch")
     resource_definition->type = CORBA::string_dup("single_machine");
   else
     resource_definition->type = CORBA::string_dup("cluster");