From 9e58e45c69fac551d6b1069bc0702a6f0cb1c2ea Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sat, 10 Dec 2011 14:18:40 -0800 Subject: [PATCH] Fix resume action to work properly --- lib/vagrant/action/vm/resume.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/vagrant/action/vm/resume.rb b/lib/vagrant/action/vm/resume.rb index d30099a63..496d9c0dc 100644 --- a/lib/vagrant/action/vm/resume.rb +++ b/lib/vagrant/action/vm/resume.rb @@ -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)