change unit to GB

This commit is contained in:
harisreedhar
2026-02-09 17:58:13 +05:30
committed by henryruhs
parent 49cc14385d
commit deb3932547
+2 -2
View File
@@ -28,12 +28,12 @@ def detect_disk_metrics(drive_paths : List[str]) -> List[DiskMetrics]:
'total':
{
'value': int(disk_usage.total / (1024 * 1024 * 1024)),
'unit': 'GiB'
'unit': 'GB'
},
'free':
{
'value': int(disk_usage.free / (1024 * 1024 * 1024)),
'unit': 'GiB'
'unit': 'GB'
},
'utilization':
{