Skip to content

Commit

Permalink
Update hyperv.py
Browse files Browse the repository at this point in the history
  • Loading branch information
SRIKKANTH committed Jan 30, 2025
1 parent 8410463 commit 85ca87b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lisa/tools/hyperv.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def get_vm_disks(self, name: str) -> List[VMDisk]:
# above command returns a list of disks if there are multiple disks.
# if there is only one disk, it returns a single disk but not a list.
# so convert the output to a list if it is not already a list
if not isinstance(output, List):
if not isinstance(output, list):
output = [output]
for disk in output:
vm_disks.append(
Expand Down

0 comments on commit 85ca87b

Please sign in to comment.