diff --git a/Code/Mantid/Framework/Kernel/src/ComputeResourceInfo.cpp b/Code/Mantid/Framework/Kernel/src/ComputeResourceInfo.cpp index 6669c1f228310ec4bcba078f3f79a072f96cad77..df25d17cbd3513f0e73c46bb2dea1ddef2c97212 100644 --- a/Code/Mantid/Framework/Kernel/src/ComputeResourceInfo.cpp +++ b/Code/Mantid/Framework/Kernel/src/ComputeResourceInfo.cpp @@ -40,7 +40,7 @@ ComputeResourceInfo::ComputeResourceInfo(const FacilityInfo *fac, // default: Mantid web service API: // http://www.mantidproject.org/Remote_Job_Submission_API m_managerType = "MantidWebServiceAPIJobManager"; - std::string type = elem->getAttribute("JobManagerType"); + std::string type = elem->getAttribute("jobmanagertype"); if (!type.empty()) { m_managerType = type; } diff --git a/Code/Mantid/Framework/Kernel/test/ComputeResourceInfoTest.h b/Code/Mantid/Framework/Kernel/test/ComputeResourceInfoTest.h index 213a98ed2098662b0748101000aaaa992a0a8cc0..b1b561bbc78c6ed7802f2c9f10d150d46231933b 100644 --- a/Code/Mantid/Framework/Kernel/test/ComputeResourceInfoTest.h +++ b/Code/Mantid/Framework/Kernel/test/ComputeResourceInfoTest.h @@ -105,7 +105,7 @@ public: void test_normalSCARF() { const std::string scarf = "<computeResource name=\"" + scarfName + - "\" JobManagerType=\"" + scarfType + "\">" + "\" jobmanagertype=\"" + scarfType + "\">" "<baseURL>" + scarfURL + "</baseURL>" "</computeResource>"; @@ -139,7 +139,7 @@ public: void test_brokenSCARF() { const std::string type = "SCARFLSFJobManager"; const std::string err = "<computeResource foo=\"" + scarfName + - "\" JobManagerType=\"" + type + "\">" + "\" jobmanagertype=\"" + type + "\">" "<URL>" + scarfURL + "</URL>" "</computeResource>";