From 35b7e28011ff5594d769b36d66a91b2acaa564fc Mon Sep 17 00:00:00 2001 From: Seth Vargo Date: Fri, 24 Oct 2014 19:49:10 -0400 Subject: [PATCH] Do not use UNSET_VALUE in plugin (it uses components) --- lib/vagrant/plugin/v2/plugin.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vagrant/plugin/v2/plugin.rb b/lib/vagrant/plugin/v2/plugin.rb index bcae23eaa..a39b3cf10 100644 --- a/lib/vagrant/plugin/v2/plugin.rb +++ b/lib/vagrant/plugin/v2/plugin.rb @@ -225,7 +225,7 @@ module Vagrant # # @param [String] name Name of the push. # @param [Hash] options List of options for the push. - def self.push(name=UNSET_VALUE, options=nil, &block) + def self.push(name, options=nil, &block) components.pushes.register(name.to_sym) do [block.call, options] end