repair whitespace
This commit is contained in:
parent
ad41c445a4
commit
a2a9cb99d1
1 changed files with 13 additions and 13 deletions
|
@ -38,21 +38,21 @@ module Vagrant
|
||||||
def forward_ports
|
def forward_ports
|
||||||
@container_ip = @env[:machine].provider.driver.assigned_ip
|
@container_ip = @env[:machine].provider.driver.assigned_ip
|
||||||
|
|
||||||
@env[:forwarded_ports].each do |fp|
|
@env[:forwarded_ports].each do |fp|
|
||||||
message_attributes = {
|
message_attributes = {
|
||||||
# TODO: Add support for multiple adapters
|
# TODO: Add support for multiple adapters
|
||||||
:adapter => 'eth0',
|
:adapter => 'eth0',
|
||||||
:guest_port => fp[:guest],
|
:guest_port => fp[:guest],
|
||||||
:host_port => fp[:host]
|
:host_port => fp[:host]
|
||||||
}
|
}
|
||||||
|
|
||||||
# TODO: Remove adapter from logging
|
# TODO: Remove adapter from logging
|
||||||
@env[:ui].info(I18n.t("vagrant.actions.vm.forward_ports.forwarding_entry",
|
@env[:ui].info(I18n.t("vagrant.actions.vm.forward_ports.forwarding_entry",
|
||||||
message_attributes))
|
message_attributes))
|
||||||
|
|
||||||
redir_pid = redirect_port(fp[:host], fp[:guest])
|
redir_pid = redirect_port(fp[:host], fp[:guest])
|
||||||
store_redir_pid(fp[:host], redir_pid)
|
store_redir_pid(fp[:host], redir_pid)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
Loading…
Reference in a new issue