Do not display port forwarding message in case no forwarded ports where set
This commit is contained in:
parent
454edec6bb
commit
5679158ea1
1 changed files with 4 additions and 2 deletions
|
@ -24,9 +24,11 @@ module Vagrant
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if @env[:forwarded_ports].any?
|
||||||
env[:ui].info I18n.t("vagrant.actions.vm.forward_ports.forwarding")
|
env[:ui].info I18n.t("vagrant.actions.vm.forward_ports.forwarding")
|
||||||
forward_ports
|
forward_ports
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
def forward_ports
|
def forward_ports
|
||||||
@container_ip = @env[:machine].provider.driver.assigned_ip
|
@container_ip = @env[:machine].provider.driver.assigned_ip
|
||||||
|
|
Loading…
Reference in a new issue