diff options
author | John McCrae <jmccrae@chf.io> | 2022-05-25 17:37:08 +0600 |
---|---|---|
committer | John McCrae <jmccrae@chf.io> | 2022-05-26 13:40:30 +0600 |
commit | a13b6526c8de1e3fef40d1d100f7edc5a7e49faa (patch) | |
tree | 8639f7ce39b42dc91d4cf5154a52b291a629b237 /lib/chef | |
parent | 61b518ed838dd61ea611c6a0a6fb54e7a860c0f0 (diff) | |
download | chef-a13b6526c8de1e3fef40d1d100f7edc5a7e49faa.tar.gz |
refactored authenticator.rb to remove a redundant block that was causing tests to fail
Signed-off-by: John McCrae <jmccrae@chf.io>
Diffstat (limited to 'lib/chef')
-rw-r--r-- | lib/chef/http/authenticator.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/chef/http/authenticator.rb b/lib/chef/http/authenticator.rb index d31aa6b53d..b29cb5d039 100644 --- a/lib/chef/http/authenticator.rb +++ b/lib/chef/http/authenticator.rb @@ -239,7 +239,6 @@ class Chef ::Chef::Client.update_key_and_register(Chef::Config[:client_name], pkcs) end - File.delete(file_path) return pkcs.key.private_to_pem end end |