"agent_alias" could not work at Pandora Agent for Windows. #116

This commit is contained in:
Hirofumi Kosaka 2017-04-10 18:27:34 +09:00
parent ad05691e2d
commit ddf6919654
1 changed files with 2 additions and 2 deletions

View File

@ -300,7 +300,7 @@ Pandora_Windows_Service::pandora_init () {
}
// Get the agent alias.
conf->getValue ("agent_alias");
agent_alias = conf->getValue ("agent_alias");
if (agent_alias == "") {
agent_alias = Pandora_Windows_Info::getSystemName ();
this->conf->setValue("agent_alias", agent_alias);
@ -441,7 +441,7 @@ Pandora_Windows_Service::getXmlHeader () {
agent_name = conf->getValue ("agent_name");
// Get agent alias
conf->getValue ("agent_alias");
agent_alias = conf->getValue ("agent_alias");
// Get parent agent name
parent_agent_name = conf->getValue ("parent_agent_name");