Fix resume action to work properly

This commit is contained in:
Mitchell Hashimoto 2011-12-10 14:18:40 -08:00
parent 71c39126e5
commit 9e58e45c69
1 changed files with 3 additions and 3 deletions

View File

@ -7,9 +7,9 @@ module Vagrant
end
def call(env)
if env["vm"].vm.saved?
env.ui.info I18n.t("vagrant.actions.vm.resume.resuming")
env["actions"].run(Boot)
if env[:vm].vm.saved?
env[:ui].info I18n.t("vagrant.actions.vm.resume.resuming")
env[:action_runner].run(Boot, env)
end
@app.call(env)