mirror of https://github.com/Icinga/icinga2.git
parent
e19ae4e052
commit
b83af363ef
|
@ -321,6 +321,9 @@ String InfluxdbWriter::EscapeValue(const Value& value)
|
|||
if (value.IsBoolean())
|
||||
return value ? "true" : "false";
|
||||
|
||||
if (value.IsString())
|
||||
return "\"" + EscapeKeyOrTagValue(value) + "\"";
|
||||
|
||||
return value;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue