Fix a issue that node with FQDN host name may not be recognized by scheduler
This commit is contained in:
Родитель
3dbf5d342d
Коммит
9695b14042
|
@ -632,6 +632,11 @@ namespace hpc
|
|||
"Support monitoring multiple instances of network usage, which is set as default instead of monitoring total usage",
|
||||
}
|
||||
},
|
||||
{ "2.4.1.0",
|
||||
{
|
||||
"Fix a issue that node with FQDN host name may not be recognized by scheduler",
|
||||
}
|
||||
},
|
||||
};
|
||||
|
||||
return versionHistory;
|
||||
|
|
|
@ -413,6 +413,8 @@ const std::string& System::GetNodeName()
|
|||
nodeName.end(),
|
||||
nodeName.begin(),
|
||||
::toupper);
|
||||
|
||||
nodeName = String::Split(nodeName, '.')[0];
|
||||
}
|
||||
|
||||
return nodeName;
|
||||
|
|
Загрузка…
Ссылка в новой задаче