From 6ebfbaab37b8f934a6a237294fdd4630d0e1d6c8 Mon Sep 17 00:00:00 2001 From: andig Date: Sat, 23 Oct 2021 16:19:12 +0200 Subject: [PATCH] InfluxDB: log integer values --- server/influxdb.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/influxdb.go b/server/influxdb.go index f28ba9feb..19bbbc07d 100644 --- a/server/influxdb.go +++ b/server/influxdb.go @@ -61,7 +61,7 @@ func (m *Influx) supportedType(p util.Param) bool { } switch val := p.Val.(type) { - case float64: + case int, int64, float64: return true case [3]float64: return true