diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-12-26 10:35:00 -0800 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-12-26 10:35:00 -0800 |
commit | 8017ab003cff28c49e7ed982efda34daf28b9590 (patch) | |
tree | 29e103a0f498e3f942c1c0effa8d9f4f8a8a4ca5 /lib/chef/http/socketless_chef_zero_client.rb | |
parent | 07d00d7bc07ccdca7f34abf5bb05ef2d77ebb8dc (diff) | |
download | chef-joins.tar.gz |
Remove redundant arguments to join methodsjoins
There's no point in specifying the argument here.
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/http/socketless_chef_zero_client.rb')
-rw-r--r-- | lib/chef/http/socketless_chef_zero_client.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/http/socketless_chef_zero_client.rb b/lib/chef/http/socketless_chef_zero_client.rb index 8c7ee8d8bc..33ae7f7c49 100644 --- a/lib/chef/http/socketless_chef_zero_client.rb +++ b/lib/chef/http/socketless_chef_zero_client.rb @@ -181,7 +181,7 @@ class Chef end def to_net_http(code, headers, chunked_body) - body = chunked_body.join("") + body = chunked_body.join msg = STATUS_MESSAGE[code] raise "Cannot determine HTTP status message for code #{code}" unless msg |