From fb5f09bc347553b2744e5d3b24ddfa26bc0b3c9e Mon Sep 17 00:00:00 2001 From: Luke Kanies Date: Wed, 11 Jun 2008 18:56:36 -0500 Subject: Fixing how the Indirector::Request sets its options. I wasn't testing whether the options where still a hash, and an 'inject' loop wasn't returning correctly, so the options weren't being set correctly. --- lib/puppet/indirector/request.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/puppet/indirector/request.rb') diff --git a/lib/puppet/indirector/request.rb b/lib/puppet/indirector/request.rb index 45c06670b..98fa38885 100644 --- a/lib/puppet/indirector/request.rb +++ b/lib/puppet/indirector/request.rb @@ -24,6 +24,7 @@ class Puppet::Indirector::Request else result[param] = value end + result end if key.is_a?(String) or key.is_a?(Symbol) -- cgit