diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2018-01-17 13:34:18 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2018-01-17 13:34:18 -0800 |
commit | 746562d6358c27b838c95ea27b2a2bd82c03cefe (patch) | |
tree | baa587f091d06c1385543bbde818970e5fee7b75 /lib/chef/client.rb | |
parent | fcd8d778baeeb990a64fe9042164bbd3e1dd5269 (diff) | |
download | chef-746562d6358c27b838c95ea27b2a2bd82c03cefe.tar.gz |
prepping for rubocop 0.52.1lcg/rubocop-0.52.1
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/client.rb')
-rw-r--r-- | lib/chef/client.rb | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/lib/chef/client.rb b/lib/chef/client.rb index 786ed2c4fc..6ff2d78ee6 100644 --- a/lib/chef/client.rb +++ b/lib/chef/client.rb @@ -3,7 +3,7 @@ # Author:: Christopher Walters (<cw@chef.io>) # Author:: Christopher Brown (<cb@chef.io>) # Author:: Tim Hinderliter (<tim@chef.io>) -# Copyright:: Copyright 2008-2017, Chef Software Inc. +# Copyright:: Copyright 2008-2018, Chef Software Inc. # License:: Apache License, Version 2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -100,14 +100,6 @@ class Chef attr_reader :rest # - # A rest object with validate_utf8 set to false. This will not throw exceptions - # on non-UTF8 strings in JSON but will sanitize them so that e.g. POSTs will - # never fail. Cannot be configured on a request-by-request basis, so we carry - # around another rest object for it. - # - attr_reader :rest_clean - - # # The runner used to converge. # # @return [Chef::Runner] @@ -398,8 +390,10 @@ class Chef end end - # Rest client for use by API reporters. This rest client will not fail with an exception if - # it is fed non-UTF8 data. + # A rest object with validate_utf8 set to false. This will not throw exceptions + # on non-UTF8 strings in JSON but will sanitize them so that e.g. POSTs will + # never fail. Cannot be configured on a request-by-request basis, so we carry + # around another rest object for it. # # @api private def rest_clean(client_name = node_name, config = Chef::Config) |