mirror of https://github.com/Icinga/icinga2.git
parent
ebe4bcea8e
commit
6a71b75f63
|
@ -1484,7 +1484,7 @@ void ApiListener::UpdateStatusFile(TcpSocket::Ptr socket)
|
||||||
|
|
||||||
Utility::SaveJsonFile(path, 0644, new Dictionary({
|
Utility::SaveJsonFile(path, 0644, new Dictionary({
|
||||||
{"host", details.first},
|
{"host", details.first},
|
||||||
{"port", details.second}
|
{"port", Convert::ToLong(details.second)}
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue