From e5a7bfebbc6973aa93561db9a19aa27ee3d64d6b Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Fri, 29 Aug 2014 12:05:44 -0700 Subject: [PATCH] commands/box/update: proper provider is updated [GH-4374] --- plugins/commands/box/command/update.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/commands/box/command/update.rb b/plugins/commands/box/command/update.rb index 73f2dbaf3..5633b0aaf 100644 --- a/plugins/commands/box/command/update.rb +++ b/plugins/commands/box/command/update.rb @@ -35,7 +35,7 @@ module VagrantPlugins if options[:box] update_specific(options[:box], options[:provider]) else - update_vms(argv) + update_vms(argv, options[:provider]) end 0 @@ -78,8 +78,8 @@ module VagrantPlugins end end - def update_vms(argv) - with_target_vms(argv) do |machine| + def update_vms(argv, provider) + with_target_vms(argv, provider: provider) do |machine| if !machine.config.vm.box machine.ui.output(I18n.t( "vagrant.errors.box_update_no_name"))