mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-25 06:34:42 +02:00
Fix the build error for real
This commit is contained in:
parent
b026bb713f
commit
c75ecd8c45
@ -357,10 +357,9 @@ void TroubleshootCollectCommand::CheckObjectFile(const String& objectfile, InfoL
|
|||||||
|
|
||||||
bool first = true;
|
bool first = true;
|
||||||
|
|
||||||
if (print)
|
std::ofstream badstream;
|
||||||
ObjectListUtility::PrintObject(std::ostream(NULL), first, message, type_count, "", "");
|
|
||||||
else
|
ObjectListUtility::PrintObject(badstream, first, message, type_count, "", "");
|
||||||
ObjectListUtility::PrintObject(std::ostream(NULL), first, message, type_count, "", "");
|
|
||||||
|
|
||||||
Dictionary::Ptr object = JsonDecode(message);
|
Dictionary::Ptr object = JsonDecode(message);
|
||||||
Dictionary::Ptr properties = object->Get("properties");
|
Dictionary::Ptr properties = object->Get("properties");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user