From 0c777a1d63714b5db2909a30eef5891fe9b297a8 Mon Sep 17 00:00:00 2001 From: Ben Phegan Date: Thu, 23 Mar 2017 12:11:19 +1100 Subject: [PATCH] Fix for DriverMock not implementing Driver --- builder/virtualbox/common/driver_mock.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/virtualbox/common/driver_mock.go b/builder/virtualbox/common/driver_mock.go index da08ad072..d69a06650 100644 --- a/builder/virtualbox/common/driver_mock.go +++ b/builder/virtualbox/common/driver_mock.go @@ -47,7 +47,7 @@ type DriverMock struct { VersionErr error } -func (d *DriverMock) CreateSATAController(vm string, controller string) error { +func (d *DriverMock) CreateSATAController(vm string, controller string, portcount int) error { d.CreateSATAControllerVM = vm d.CreateSATAControllerController = vm return d.CreateSATAControllerErr