From ead138234327f6a6c12b7366660e025afb4566bf Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Wed, 15 Jan 2014 17:33:55 -0800 Subject: [PATCH] provisioners/docker: fix wrong variable usage caught by @pda --- plugins/provisioners/docker/client.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/provisioners/docker/client.rb b/plugins/provisioners/docker/client.rb index a52117359..967493e9f 100644 --- a/plugins/provisioners/docker/client.rb +++ b/plugins/provisioners/docker/client.rb @@ -11,7 +11,7 @@ module VagrantPlugins @machine.communicate.tap do |comm| images.each do |path, opts| @machine.ui.info(I18n.t("vagrant.docker_building_single", path: path)) - comm.sudo("docker build #{image[:args]} #{path}") + comm.sudo("docker build #{opts[:args]} #{path}") end end end