builder/virtualbox: fix type casting
/cc @pearkes - This fixes that crash
This commit is contained in:
parent
f41429b6b4
commit
9c6d0dfc8b
@ -12,7 +12,7 @@ func CommHost(state multistep.StateBag) (string, error) {
|
||||
}
|
||||
|
||||
func SSHPort(state multistep.StateBag) (int, error) {
|
||||
sshHostPort := state.Get("sshHostPort").(uint)
|
||||
sshHostPort := state.Get("sshHostPort").(int)
|
||||
return int(sshHostPort), nil
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user