From 41e1a7e0e4b5f1fbf3ae145a48e5313368a25b5c Mon Sep 17 00:00:00 2001 From: Ramakrishnan Date: Thu, 27 Mar 2014 13:04:28 +0530 Subject: [PATCH] HyperV provider resume. GH-3336 Fix for vagrant resume command for HyperV provider. Fixed the variable name in action builder block. --- plugins/providers/hyperv/action.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/providers/hyperv/action.rb b/plugins/providers/hyperv/action.rb index 5721749e6..301fb50bc 100644 --- a/plugins/providers/hyperv/action.rb +++ b/plugins/providers/hyperv/action.rb @@ -67,8 +67,8 @@ module VagrantPlugins Vagrant::Action::Builder.new.tap do |b| b.use HandleBox b.use ConfigValidate - b.use Call, IsState, :not_created do |env, b2| - if env1[:result] + b.use Call, IsState, :not_created do |env, b1| + if env[:result] b1.use Message, I18n.t("vagrant_hyperv.message_not_created") next end