mirror of https://github.com/Icinga/icinga2.git
Fix incorrect method call in JsonRpcConnection::MessageHandler
refs #11014
This commit is contained in:
parent
f3ab63b60e
commit
4ae0681ffa
|
@ -207,7 +207,7 @@ void JsonRpcConnection::MessageHandler(const String& jsonString)
|
||||||
if (message->Contains("id")) {
|
if (message->Contains("id")) {
|
||||||
resultMessage->Set("jsonrpc", "2.0");
|
resultMessage->Set("jsonrpc", "2.0");
|
||||||
resultMessage->Set("id", message->Get("id"));
|
resultMessage->Set("id", message->Get("id"));
|
||||||
JsonRpc::SendMessage(m_Stream, resultMessage);
|
SendMessage(resultMessage);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue