Add ZFS vdev exposure in API and frontend
This commit is contained in:
@@ -93,7 +93,8 @@ async def get_overview():
|
||||
reallocated_sectors=sd.get("reallocated_sectors"),
|
||||
pending_sectors=sd.get("pending_sectors"),
|
||||
uncorrectable_errors=sd.get("uncorrectable_errors"),
|
||||
zfs_pool=pool_map.get(sd["device"]),
|
||||
zfs_pool=pool_map.get(sd["device"], {}).get("pool"),
|
||||
zfs_vdev=pool_map.get(sd["device"], {}).get("vdev"),
|
||||
health_status=health_status,
|
||||
)
|
||||
elif s["populated"]:
|
||||
|
||||
Reference in New Issue
Block a user