Output the UI when repairing port collisions
This commit is contained in:
parent
5d82123da9
commit
68aa9c8acf
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue