mirror of https://github.com/Icinga/icinga2.git
parent
157358c24f
commit
6dba6a0bfb
|
@ -323,6 +323,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