diff options
Diffstat (limited to 'lib/chef/api_client_v1.rb')
-rw-r--r-- | lib/chef/api_client_v1.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chef/api_client_v1.rb b/lib/chef/api_client_v1.rb index 513d546e64..20d1989d38 100644 --- a/lib/chef/api_client_v1.rb +++ b/lib/chef/api_client_v1.rb @@ -270,6 +270,7 @@ class Chef # rescue API V0 if 406 and the server supports V0 supported_versions = server_client_api_version_intersection(e, SUPPORTED_API_VERSIONS) raise e unless supported_versions && supported_versions.include?(0) + new_client = chef_rest_v0.put("clients/#{name}", payload) end |