Fix qvm-block lists internal volumes on non default pools
This commit is contained in:
parent
3e30dc17cb
commit
bbcf16410c
@ -113,6 +113,8 @@ def list_volumes(args):
|
||||
for domain in domains: # gather the domain names
|
||||
try:
|
||||
for volume in domain.attached_volumes:
|
||||
if not args.internal and volume.internal:
|
||||
continue
|
||||
try:
|
||||
volume_data = vd_dict[volume.pool][volume.vid]
|
||||
volume_data.domains += [(domain.name, volume.name)]
|
||||
|
Loading…
Reference in New Issue
Block a user