From 11fae173085fa804fea752dab282efa9b5351149 Mon Sep 17 00:00:00 2001 From: William Brooks Date: Fri, 21 Feb 2020 01:44:49 -0600 Subject: [PATCH] again, really fix driver_mock --- builder/hyperv/common/driver_mock.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/hyperv/common/driver_mock.go b/builder/hyperv/common/driver_mock.go index eb633bcd3..4ca8d7ed0 100644 --- a/builder/hyperv/common/driver_mock.go +++ b/builder/hyperv/common/driver_mock.go @@ -590,7 +590,7 @@ func (d *DriverMock) SetFirstBootDevice(vmName string, controllerType string, co d.SetFirstBootDevice_ControllerType = controllerType d.SetFirstBootDevice_ControllerNumber = controllerNumber d.SetFirstBootDevice_ControllerLocation = controllerLocation - d.SetFirstBootDevice.Generation = generation + d.SetFirstBootDevice_Generation = generation return d.SetFirstBootDevice_Err }