diff options
author | danielsdeleo <dan@opscode.com> | 2012-12-18 10:47:24 -0800 |
---|---|---|
committer | danielsdeleo <dan@opscode.com> | 2012-12-18 17:10:05 -0800 |
commit | a61c9865684466adcc9c933f05eebc1090624ea0 (patch) | |
tree | 224e1719aa7a49a2cd3e1e3c7265d204701121b5 /lib/chef/api_client.rb | |
parent | 2de707d27251f38790a71043843749a570302aaf (diff) | |
download | chef-a61c9865684466adcc9c933f05eebc1090624ea0.tar.gz |
[CHEF-3689] Extract registration to a class
Diffstat (limited to 'lib/chef/api_client.rb')
-rw-r--r-- | lib/chef/api_client.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/chef/api_client.rb b/lib/chef/api_client.rb index 30ea698e17..6c7132d28f 100644 --- a/lib/chef/api_client.rb +++ b/lib/chef/api_client.rb @@ -206,11 +206,6 @@ class Chef @http_api ||= Chef::REST.new(Chef::Config[:chef_server_url]) end - def http_api_as_validator - @http_api_as_validator ||= Chef::REST.new(Chef::Config[:chef_server_url], - Chef::Config[:validation_client_name], - Chef::Config[:validation_key]) - end end end |