diff options
author | John McCrae <john.mccrae@progress.com> | 2022-03-22 10:29:47 -0700 |
---|---|---|
committer | John McCrae <john.mccrae@progress.com> | 2022-03-22 10:29:47 -0700 |
commit | 7621812b7e829fd53ad65430c61cb01a572d623b (patch) | |
tree | e4ae420c593650c34adebb3d7b06667e2cd10a5f /lib/chef/api_client_v1.rb | |
parent | e475b0735ba88f3d376b184aaf912896e3246fd1 (diff) | |
download | chef-7621812b7e829fd53ad65430c61cb01a572d623b.tar.gz |
updating gemlock files
Signed-off-by: John McCrae <john.mccrae@progress.com>
Diffstat (limited to 'lib/chef/api_client_v1.rb')
-rw-r--r-- | lib/chef/api_client_v1.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/chef/api_client_v1.rb b/lib/chef/api_client_v1.rb index f7a41cdb5b..b61efa9857 100644 --- a/lib/chef/api_client_v1.rb +++ b/lib/chef/api_client_v1.rb @@ -299,10 +299,10 @@ class Chef # the new method only gets called when migrating keys to the certificate store. new_client = if Chef::Config[:migrate_key_to_keystore] == true - chef_rest_v1_with_validator.post("clients", payload) - else - chef_rest_v1.post("clients", payload) - end + chef_rest_v1_with_validator.post("clients", payload) + else + chef_rest_v1.post("clients", payload) + end # get the private_key out of the chef_key hash if it exists if new_client["chef_key"] |