mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2024-07-07 04:22:58 -05:00
[Fix] forward_ports.rb: no implicit conversion of String into Array (#1706)
Fixes a TypeError due to attempting to add a string to an array instead of appending as a new element when gateway ports are set.
This commit is contained in:
commit
0d2b2fcd02
|
@ -93,7 +93,7 @@ module VagrantPlugins
|
|||
-N
|
||||
#{ssh_info[:host]}
|
||||
)
|
||||
params += '-g' if gateway_ports
|
||||
params <<= '-g' if gateway_ports
|
||||
|
||||
options = (%W(
|
||||
User=#{ssh_info[:username]}
|
||||
|
|
Loading…
Reference in New Issue
Block a user