diff options
author | Scott Hain <shain@getchef.com> | 2014-06-27 09:44:40 -0700 |
---|---|---|
committer | Scott Hain <shain@getchef.com> | 2014-06-27 09:44:40 -0700 |
commit | cb2a155edf560354e8ce8b8ad26eea84160407e5 (patch) | |
tree | 22b428c1b540224b9b684da9851cc571c50bc9f5 | |
parent | 9d2a9d8b4e6dda6c22010dd4388ae15703d4e304 (diff) | |
download | chef-cb2a155edf560354e8ce8b8ad26eea84160407e5.tar.gz |
Fixed the stupid typo that broke the last build
-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 |