Ugh..missing argument in VMware builder's driver_esx5 unit-test due to api change for .HostIP(). Fixed.

This commit is contained in:
Ali Rizvi-Santiago 2016-04-05 20:56:47 -05:00
parent 9b95ce0bc6
commit 15cb6a833a
1 changed files with 2 additions and 1 deletions

View File

@ -50,8 +50,9 @@ func TestESX5Driver_HostIP(t *testing.T) {
defer listen.Close()
driver := ESX5Driver{Host: "localhost", Port: uint(port)}
state := new(multistep.BasicStateBag)
if host, _ := driver.HostIP(); host != expected_host {
if host, _ := driver.HostIP(state); host != expected_host {
t.Error(fmt.Sprintf("Expected string, %s but got %s", expected_host, host))
}
}