plugins/providers/virtualbox/action/forward_ports.rb in vagrant-unbundled-2.2.9.0 vs plugins/providers/virtualbox/action/forward_ports.rb in vagrant-unbundled-2.2.10.0

- old
+ new

@@ -46,11 +46,11 @@ # Assuming the only reason to establish port forwarding is # because the VM is using Virtualbox NAT networking. Host-only # bridged networking don't require port-forwarding and establishing # forwarded ports on these attachment types has uncertain behaviour. @env[:ui].detail(I18n.t("vagrant.actions.vm.forward_ports.forwarding_entry", - message_attributes)) + **message_attributes)) # Verify we have the network interface to attach to if !interfaces[fp.adapter] raise Vagrant::Errors::ForwardPortAdapterNotFound, adapter: fp.adapter.to_s, @@ -60,10 +60,10 @@ # Port forwarding requires the network interface to be a NAT interface, # so verify that that is the case. if interfaces[fp.adapter][:type] != :nat @env[:ui].detail(I18n.t("vagrant.actions.vm.forward_ports.non_nat", - message_attributes)) + **message_attributes)) next end # Add the options to the ports array to send to the driver later ports << {