Fix plugin loading

Regression from d354cdd.
This commit is contained in:
Teemu Matilainen 2013-12-04 17:24:23 -03:00
parent 3df245f1fd
commit ee8f962537
1 changed files with 2 additions and 2 deletions

View File

@ -755,9 +755,9 @@ module Vagrant
next
end
@logger.info("Loading plugin from JSON: #{plugin}")
@logger.info("Loading plugin from JSON: #{name}")
begin
Vagrant.require_plugin(plugin)
Vagrant.require_plugin(name)
rescue Errors::PluginLoadError => e
@ui.error(e.message + "\n")
rescue Errors::PluginLoadFailed => e