modify test so that it accesses CommConfig the same way we really do within the driver
This commit is contained in:
parent
7d290a5df1
commit
c3d6d45696
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue