mirror of
https://github.com/nicolargo/glances.git
synced 2024-11-27 10:42:52 +03:00
Glances 3.2.0 and influxdb export - Missing network data #1893
This commit is contained in:
parent
4d1ec281a3
commit
5daa2a8282
@ -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])
|
||||
|
Loading…
Reference in New Issue
Block a user