mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 16:30:10 +00:00
Fixes influxdb version check
This commit is contained in:
parent
20fb08a619
commit
ebe71e59ab
1 changed files with 5 additions and 0 deletions
|
|
@ -2125,7 +2125,12 @@ local function getCqQuery(dbname, tags, schema, source, dest, step, dest_step, r
|
|||
end
|
||||
|
||||
function driver:setup(ts_utils)
|
||||
local version, err = getInfluxdbVersion(self.url, self.username, self.password)
|
||||
if version then
|
||||
isCompatibleVersion(version)
|
||||
end
|
||||
local skip = ntop.getCache(INFLUXDB_KEY_SKIP_RETENTION_AND_CREATION)
|
||||
|
||||
if isEmptyString(skip) then
|
||||
skip = false
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue