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 end
def call(env) def call(env)
if env["vm"].vm.saved? if env[:vm].vm.saved?
env.ui.info I18n.t("vagrant.actions.vm.resume.resuming") env[:ui].info I18n.t("vagrant.actions.vm.resume.resuming")
env["actions"].run(Boot) env[:action_runner].run(Boot, env)
end end
@app.call(env) @app.call(env)