mirror of
https://github.com/nicolargo/glances.git
synced 2026-10-05 00:15:20 -04:00
Glances 3.2.0 and influxdb export - Missing network data #1893
This commit is contained in:
1 parent
4d1ec281a3
commit
5daa2a8282
2 files changed
+2
-2
No files matched your search
@@ -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