mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-29 08:34:20 +02:00
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…
x
Reference in New Issue
Block a user