

def lookup_configdrive_path(self, instance_name):
    configdrive_path = None
    for format_ext in constants.DISK_FORMAT_MAP:
        test_path = self.get_configdrive_path(instance_name, configdrive_path)
        if self.exists(test_path):
            configdrive_path = test_path
            break
    return configdrive_path

dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/virt/hyperv/pathutils.py PathUtils.lookup_configdrive_path/VarMisuse@33/54 `format_ext`->`configdrive_path`