Переглянути джерело

Show correct node information for external node

On EclWatch, external node is not shown correctly now on
the node list of thor cluster. This fix shows the node name
to be 'external' and the platform to be 'Unknown'.

Signed-off-by: Kevin Wang <kevin.wang@lexisnexis.com>
Kevin Wang 13 роки тому
батько
коміт
28a120588c
1 змінених файлів з 5 додано та 0 видалено
  1. 5 0
      esp/smc/SMCLib/TpWrapper.cpp

+ 5 - 0
esp/smc/SMCLib/TpWrapper.cpp

@@ -1616,6 +1616,11 @@ void CTpWrapper::getMachineList(const char* clusterName,
                     machineInfo.setDomain(pDomain->getName(sName).str());
                 }
             }
+            else
+            {
+                machineInfo.setName("external");
+                machineInfo.setOS(MachineOsUnknown);
+            }
 
             MachineList.append(machineInfo);
         }