fix check_zfs_zpool

This commit is contained in:
Cyberes 2023-06-22 16:40:12 -06:00
parent c902aa5a5e
commit 49938f6ac0
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ def get_vdev_info(zpool: str, vdev_type: str):
for line in list(filter(None, output_zpool_logs.split('\n'))):
data = list(filter(None, clean_device_list(line).split(' ')))
zpool_vdev_devices.append({
'pool': False # not (is_dash(data[2]) and is_dash(data[3]) and is_dash(data[6]) and is_dash(data[7])),
'pool': False, # not (is_dash(data[2]) and is_dash(data[3]) and is_dash(data[6]) and is_dash(data[7])),
# TODO: better pool detection
'device': data[0],