diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2016-02-23 11:36:29 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2016-02-23 11:36:29 -0800 |
commit | f17fc92d3b8400cc91bfd384c5bf39fd40bdf5b1 (patch) | |
tree | c034024fd7fd216dcc3dfd8f0d3fa95ced5a89f6 /lib/chef/http.rb | |
parent | 271d3e4f91e3d158c9112512ac75d0ca51fc928d (diff) | |
download | chef-f17fc92d3b8400cc91bfd384c5bf39fd40bdf5b1.tar.gz |
remove unused block argumentslcg/chefstyle-perf
Diffstat (limited to 'lib/chef/http.rb')
-rw-r--r-- | lib/chef/http.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/http.rb b/lib/chef/http.rb index a3673ce281..17024c4bdc 100644 --- a/lib/chef/http.rb +++ b/lib/chef/http.rb @@ -159,7 +159,7 @@ class Chef # # If no block is given, the tempfile is returned, which means it's up to # you to unlink the tempfile when you're done with it. - def streaming_request(path, headers = {}, &block) + def streaming_request(path, headers = {}) url = create_url(path) response, rest_request, return_value = nil, nil, nil tempfile = nil |