Commit 793c9e37 authored by Maxime Hubert's avatar Maxime Hubert
Browse files

Fix free disk space label in resources monitoring report

parent 56a8d96c
Pipeline #140228 passed with stage
in 33 seconds
......@@ -23,7 +23,7 @@ def psutil_snapshot():
'total_disk_io_write': psutil_parse_readable_bytes(
psutil.disk_io_counters(perdisk=False, nowrap=True).write_bytes
),
'total_disk_space': {
'free_disk_space': {
disk[1]: psutil_parse_readable_bytes(psutil.disk_usage(disk[1])[2])
for disk in psutil.disk_partitions()
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment