Thomas Lamprecht 1185453a06 metrics: influx: preprare value: rename $quote to $force_quote
to avoid implying that it's *only* quoted if that parameter is
truthy.

Also, check the boolean before looks_like_number call, as that is
more expensive to do.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
(cherry picked from commit b8608c53e773fad60d0008b0f1937e0cc5dd1c34)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-03-14 10:44:20 +01:00
..
2021-05-03 14:03:32 +02:00
2021-05-07 18:15:43 +02:00
2011-08-23 16:23:46 +02:00
2019-11-18 12:25:35 +01:00
2013-01-22 11:44:41 +01:00
2019-11-18 12:25:35 +01:00