mirror of https://github.com/Icinga/icinga2.git
Bugfixes.
This commit is contained in:
parent
16d2a02e04
commit
7750242384
|
@ -58,7 +58,7 @@ string Exception::GetMessage(void) const
|
|||
*/
|
||||
const char *Exception::what(void) const throw()
|
||||
{
|
||||
return GetMessage().c_str();
|
||||
return m_Message.c_str();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -3,7 +3,7 @@ local object application "icinga" {
|
|||
pubkey = "icinga-c2.crt",
|
||||
|
||||
cakey = "ca.crt",
|
||||
node = "10.0.10.3",
|
||||
node = "192.168.2.235",
|
||||
service = 8888
|
||||
}
|
||||
|
||||
|
@ -18,7 +18,7 @@ local object component "discovery" {
|
|||
}
|
||||
|
||||
local object endpoint "icinga-c1" {
|
||||
node = "10.0.10.14",
|
||||
node = "192.168.5.46",
|
||||
service = 7777,
|
||||
|
||||
roles = { "broker" }
|
||||
|
|
|
@ -179,7 +179,7 @@ Dictionary::Ptr MessagePart::GetDictionary(void) const
|
|||
bool MessagePart::GetProperty(string key, MessagePart *value) const
|
||||
{
|
||||
Object::Ptr object;
|
||||
if (GetDictionary()->GetProperty(key, &object))
|
||||
if (!GetDictionary()->GetProperty(key, &object))
|
||||
return false;
|
||||
|
||||
Dictionary::Ptr dictionary = dynamic_pointer_cast<Dictionary>(object);
|
||||
|
|
Loading…
Reference in New Issue