summaryrefslogtreecommitdiff
path: root/lib/chef/monkey_patches/net_http.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/monkey_patches/net_http.rb')
-rw-r--r--lib/chef/monkey_patches/net_http.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/monkey_patches/net_http.rb b/lib/chef/monkey_patches/net_http.rb
index 6aad6029c3..c1cb87bffd 100644
--- a/lib/chef/monkey_patches/net_http.rb
+++ b/lib/chef/monkey_patches/net_http.rb
@@ -21,7 +21,7 @@ module Net
end
end
-if Net::HTTP.instance_methods.map {|m| m.to_s}.include?("proxy_uri")
+if Net::HTTP.instance_methods.map { |m| m.to_s }.include?("proxy_uri")
begin
# Ruby 2.0 changes the way proxy support is implemented in Net::HTTP.
# The implementation does not work correctly with IPv6 literals because it