print found backup disk
This commit is contained in:
@@ -217,6 +217,7 @@ class ExternalPool(Pool):
|
|||||||
for pool_name, disk_uuid in backup_pools.items():
|
for pool_name, disk_uuid in backup_pools.items():
|
||||||
if str(disk_uuid) in present_uuids:
|
if str(disk_uuid) in present_uuids:
|
||||||
disk = Disk(disk_uuid, pool_name)
|
disk = Disk(disk_uuid, pool_name)
|
||||||
|
print(f"Found disk {pool_name}, {disk_uuid}")
|
||||||
return cls(pool_name, disk)
|
return cls(pool_name, disk)
|
||||||
else:
|
else:
|
||||||
print("Could not find a backup drive")
|
print("Could not find a backup drive")
|
||||||
|
|||||||
Reference in New Issue
Block a user