Fix invalid InfluxDB check

This commit is contained in:
emanuele-f 2019-02-22 15:11:05 +01:00
parent 80a2ed0212
commit 6c5f6e679e

View file

@ -1224,7 +1224,7 @@ function driver:setup(ts_utils)
::continue::
end
if #queries >= 0 then
if #queries > 0 then
if not self:_multiQuery(queries) then
traceError(TRACE_ERROR, TRACE_CONSOLE, "InfluxDB setup() failed")
return false