Fix forwarded ports destroy method call to use new virtualbox format

This commit is contained in:
Mitchell Hashimoto 2010-04-09 15:41:26 -07:00
parent 4586bc554d
commit 6de3b641d0
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ module Vagrant
def clear
logger.info "Deleting any previously set forwarded ports..."
@runner.vm.forwarded_ports.collect { |p| p.destroy(true) }
@runner.vm.forwarded_ports.collect { |p| p.destroy }
end
def forward_ports