summaryrefslogtreecommitdiff
path: root/lib/chef/http/remote_request_id.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/http/remote_request_id.rb')
-rw-r--r--lib/chef/http/remote_request_id.rb8
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/chef/http/remote_request_id.rb b/lib/chef/http/remote_request_id.rb
index ba6108e063..f186242f7e 100644
--- a/lib/chef/http/remote_request_id.rb
+++ b/lib/chef/http/remote_request_id.rb
@@ -20,12 +20,11 @@ require "chef/request_id"
class Chef
class HTTP
class RemoteRequestID
-
- def initialize(opts={})
+ def initialize(opts = {})
end
- def handle_request(method, url, headers={}, data=false)
- headers.merge!({"X-REMOTE-REQUEST-ID" => Chef::RequestID.instance.request_id})
+ def handle_request(method, url, headers = {}, data = false)
+ headers.merge!({ "X-REMOTE-REQUEST-ID" => Chef::RequestID.instance.request_id })
[method, url, headers, data]
end
@@ -40,7 +39,6 @@ class Chef
def handle_stream_complete(http_response, rest_request, return_value)
[http_response, rest_request, return_value]
end
-
end
end
end