Fix forwarded ports destroy method call to use new virtualbox format
This commit is contained in:
parent
4586bc554d
commit
6de3b641d0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue