summaryrefslogtreecommitdiffstats
path: root/lib/puppet/network
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/network')
-rw-r--r--lib/puppet/network/xmlrpc/client.rb7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/puppet/network/xmlrpc/client.rb b/lib/puppet/network/xmlrpc/client.rb
index c652dbf8d..ab4117b0e 100644
--- a/lib/puppet/network/xmlrpc/client.rb
+++ b/lib/puppet/network/xmlrpc/client.rb
@@ -128,12 +128,12 @@ module Puppet::Network
120 # a two minute timeout, instead of 30 seconds
)
- # We overwrite the uninitialized @http here with a cached one.
+ # We overwrite the uninitialized @http here with a cached one.
key = "%s%s" % [hash[:Server], hash[:Port]]
if @@http_cache[key]
- @http = @@http_cache[key]
+ @http = @@http_cache[key]
else
- @@http_cache[key] = @http
+ @@http_cache[key] = @http
end
end
@@ -150,4 +150,3 @@ module Puppet::Network
end
end
end
-