diff options
author | danielsdeleo <dan@opscode.com> | 2013-05-10 12:22:23 -0700 |
---|---|---|
committer | danielsdeleo <dan@opscode.com> | 2013-05-10 12:23:24 -0700 |
commit | f6b8642d396e18b762721e7334f399ca90108461 (patch) | |
tree | 9822c52804dade71388072a070f54549c524c2c4 /lib/chef/search | |
parent | cba4cccb2d12283f8e39a23bc92c8e925f3ec8ee (diff) | |
download | chef-f6b8642d396e18b762721e7334f399ca90108461.tar.gz |
[CHEF-4176] remove unneeded aliases for chef_server_url
Diffstat (limited to 'lib/chef/search')
-rw-r--r-- | lib/chef/search/query.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/search/query.rb b/lib/chef/search/query.rb index d147bc0005..4869ec1484 100644 --- a/lib/chef/search/query.rb +++ b/lib/chef/search/query.rb @@ -31,7 +31,7 @@ class Chef attr_accessor :rest def initialize(url=nil) - @rest = Chef::REST.new(url ||Chef::Config[:search_url]) + @rest = Chef::REST.new(url ||Chef::Config[:chef_server_url]) end # Search Solr for objects of a given type, for a given query. If you give @@ -53,7 +53,7 @@ class Chef end def list_indexes - response = @rest.get_rest("search") + @rest.get_rest("search") end private |