Fix InfluxDB ts_utils:exists with empty tags

This commit is contained in:
emanuele-f 2019-06-03 11:32:49 +02:00
parent 2e997a9635
commit ecfa447fcf
3 changed files with 3 additions and 2 deletions

View file

@ -708,7 +708,7 @@ local function processListSeriesResult(data, schema, tags_filter, wildcard_tags)
if table.empty(wildcard_tags) then
-- Simple "exists" check
if #data.series[1].values >= min_values_list_series then
return tags_filter
return {tags_filter}
else
return nil
end