Merge pull request #5335 from Icinga/fix/influxdb-windows

Windows build fix for InfluxdbWriter
This commit is contained in:
Michael Friedrich 2017-06-07 14:38:01 +02:00 committed by GitHub
commit 2dc82138e3
1 changed files with 1 additions and 1 deletions

View File

@ -228,7 +228,7 @@ String InfluxdbWriter::FormatInteger(int val)
String InfluxdbWriter::FormatBoolean(bool val)
{
return String(val);
return val ? "true" : "false";
}
void InfluxdbWriter::SendPerfdata(const Dictionary::Ptr& tmpl, const Checkable::Ptr& checkable, const CheckResult::Ptr& cr, double ts)