diff options
Diffstat (limited to 'lib/chef/search/query.rb')
-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 |