diff options
Diffstat (limited to 'lib/chef/server_api.rb')
-rw-r--r-- | lib/chef/server_api.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/chef/server_api.rb b/lib/chef/server_api.rb index d4644e8fc7..2bdc5d9fe8 100644 --- a/lib/chef/server_api.rb +++ b/lib/chef/server_api.rb @@ -25,7 +25,6 @@ require "chef/http/json_output" require "chef/http/remote_request_id" require "chef/http/validate_content_length" require "chef/http/api_versions" -require "chef/exceptions" class Chef class ServerAPI < Chef::HTTP @@ -36,9 +35,6 @@ class Chef options[:signing_key_filename] = nil if chef_zero_uri?(url) options[:inflate_json_class] = false super(url, options) - - chef_server_attrs = get("/").keys.sort - raise Chef::Exceptions::NotAChefServerException if %w[ guid full_name name ].sort != chef_server_attrs end use Chef::HTTP::JSONInput |