diff options
author | Scott Hain <shain@getchef.com> | 2014-06-27 09:44:40 -0700 |
---|---|---|
committer | Claire McQuin <claire@getchef.com> | 2014-09-04 15:52:23 -0700 |
commit | 1b16bce71b99e3573bac78562331af91ec381f7f (patch) | |
tree | b4d48806b73c70b9ebae3631bfbb5c3277e33313 /lib/chef/search | |
parent | 569b6878ba4dcdf4a8699a124184d06f3f3d209d (diff) | |
download | chef-1b16bce71b99e3573bac78562331af91ec381f7f.tar.gz |
Fixed the stupid typo that broke the last build
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 95dc203158..a408aa4c13 100644 --- a/lib/chef/search/query.rb +++ b/lib/chef/search/query.rb @@ -99,7 +99,7 @@ class Chef response["rows"].each { |o| block.call(o) unless o.nil?} unless (response["start"] + response["rows"].length) >= response["total"] args[:start] = response["start"] + args[:rows] - search_new(type, query, args, &block) + do_search(type, query, args, &block) end true else @@ -117,7 +117,7 @@ class Chef # argify things args = Hash.new args = { :sort => sort, :start => start, :rows => rows } - search_new(type, query, args, &block) + do_search(type, query, args, &block) end # create the full rest url string |