Output the UI when repairing port collisions

This commit is contained in:
Mitchell Hashimoto 2013-02-26 13:43:06 -08:00
parent 5d82123da9
commit 68aa9c8acf
1 changed files with 6 additions and 0 deletions

View File

@ -89,6 +89,12 @@ module Vagrant
args[1] = repaired_port args[1] = repaired_port
@logger.info("Repaired FP collision: #{host_port} to #{repaired_port}") @logger.info("Repaired FP collision: #{host_port} to #{repaired_port}")
# Notify the user
env[:ui].info(I18n.t("vagrant.actions.vm.forward_ports.fixed_collision",
:host_port => host_port.to_s,
:guest_port => guest_port.to_s,
:new_port => repaired_port.to_s))
end end
end end
end end