mirror of https://github.com/Icinga/icinga2.git
parent
879684efcd
commit
321809bea8
|
@ -272,6 +272,9 @@ Array::Ptr PluginUtility::SplitPerfdata(const String& perfdata)
|
|||
|
||||
String PluginUtility::FormatPerfdata(const Array::Ptr& perfdata)
|
||||
{
|
||||
if (!perfdata)
|
||||
return "";
|
||||
|
||||
std::ostringstream result;
|
||||
|
||||
ObjectLock olock(perfdata);
|
||||
|
|
Loading…
Reference in New Issue