summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Hain <shain@getchef.com>2014-06-27 09:44:40 -0700
committerScott Hain <shain@getchef.com>2014-06-27 09:44:40 -0700
commitcb2a155edf560354e8ce8b8ad26eea84160407e5 (patch)
tree22b428c1b540224b9b684da9851cc571c50bc9f5
parent9d2a9d8b4e6dda6c22010dd4388ae15703d4e304 (diff)
downloadchef-cb2a155edf560354e8ce8b8ad26eea84160407e5.tar.gz
Fixed the stupid typo that broke the last build
-rw-r--r--lib/chef/search/query.rb4
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