From c3d6d456960a639ef1c6ce3617c3e9fef55e59ab Mon Sep 17 00:00:00 2001 From: Megan Marsh Date: Mon, 29 Oct 2018 14:42:19 -0700 Subject: [PATCH] modify test so that it accesses CommConfig the same way we really do within the driver --- builder/vmware/common/driver_esx5_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/vmware/common/driver_esx5_test.go b/builder/vmware/common/driver_esx5_test.go index 15b823737..38232bbe7 100644 --- a/builder/vmware/common/driver_esx5_test.go +++ b/builder/vmware/common/driver_esx5_test.go @@ -72,7 +72,7 @@ func TestESX5Driver_CommHost(t *testing.T) { state := new(multistep.BasicStateBag) sshConfig := SSHConfig{Comm: commConfig} state.Put("sshConfig", &sshConfig) - driver := ESX5Driver{CommConfig: commConfig} + driver := ESX5Driver{CommConfig: *(&sshConfig.Comm)} host, err := driver.CommHost(state) if err != nil {