Make GraphiteWriter ignore empty perfdata values

fixes #7072
This commit is contained in:
Gunnar Beutner 2014-09-03 22:05:32 +02:00
parent bc4c6d1655
commit 04b026e612

View File

@ -136,6 +136,9 @@ void GraphiteWriter::SendPerfdata(const String& prefix, const CheckResult::Ptr&
{
Value pdv = cr->GetPerformanceData();
if (pdv.IsEmpty())
return;
if (!pdv.IsObjectType<Dictionary>())
{
CONTEXT("Processing performance data value '" + String(pdv) + "'");