mirror of
https://github.com/nicolargo/glances.git
synced 2026-03-14 12:00:14 -04:00
Glances 3.2.0 and influxdb export - Missing network data #1893
This commit is contained in:
@@ -123,7 +123,7 @@ class Export(GlancesExport):
|
||||
for k in fields:
|
||||
# Do not export empty (None) value
|
||||
if fields[k] is None:
|
||||
fields.pop(k)
|
||||
continue
|
||||
# Convert numerical to float
|
||||
try:
|
||||
fields[k] = float(fields[k])
|
||||
|
||||
@@ -112,7 +112,7 @@ class Export(GlancesExport):
|
||||
for k in fields:
|
||||
# Do not export empty (None) value
|
||||
if fields[k] is None:
|
||||
fields.pop(k)
|
||||
continue
|
||||
# Convert numerical to float
|
||||
try:
|
||||
fields[k] = float(fields[k])
|
||||
|
||||
Reference in New Issue
Block a user