From 85ca87b3c8df8993050a2500f3b467d6af08b7a8 Mon Sep 17 00:00:00 2001 From: SrikanthMyakam Date: Thu, 30 Jan 2025 08:42:13 +0530 Subject: [PATCH] Update hyperv.py --- lisa/tools/hyperv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisa/tools/hyperv.py b/lisa/tools/hyperv.py index 4bf9517166..5d34bb7bbd 100644 --- a/lisa/tools/hyperv.py +++ b/lisa/tools/hyperv.py @@ -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(