lib/vagrant/config/v2/root.rb in vagrant-unbundled-2.2.19.0 vs lib/vagrant/config/v2/root.rb in vagrant-unbundled-2.3.2.0

- old
+ new

@@ -27,16 +27,17 @@ config_klass = @config_map[name.to_sym] if config_klass # Instantiate the class and return the instance @keys[name] = config_klass.new - return @keys[name] else @logger.debug("missing key request name=#{name} loc=#{caller.first}") # Record access to a missing key as an error @missing_key_calls.add(name.to_s) - return DummyConfig.new + @keys[name] = DummyConfig.new end + + @keys[name] end # Called to finalize this object just prior to it being used by # the Vagrant system. The "!" signifies that this is expected to # mutate itself.