diff options
author | Claire McQuin <claire@getchef.com> | 2014-12-19 10:20:20 -0800 |
---|---|---|
committer | Claire McQuin <claire@getchef.com> | 2014-12-19 10:20:20 -0800 |
commit | 99ee719e4021e9e590ecca4d88596cfa27c1ac19 (patch) | |
tree | 4cbd426034f2b01d273a4ccfaee3e753128650d3 /lib | |
parent | 5adc90aca0600be58133a24eeebc5320e32811cb (diff) | |
download | chef-99ee719e4021e9e590ecca4d88596cfa27c1ac19.tar.gz |
Fix whitespace.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/chef/search/query.rb | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/chef/search/query.rb b/lib/chef/search/query.rb index 7459508160..ef17267ab0 100644 --- a/lib/chef/search/query.rb +++ b/lib/chef/search/query.rb @@ -16,7 +16,6 @@ # limitations under the License. # - require 'chef/config' require 'chef/exceptions' require 'chef/rest' @@ -43,10 +42,10 @@ class Chef # This can be removed in Chef > 12. def partial_search(type, query='*:*', *args, &block) Chef::Log.warn(<<-WARNDEP) - DEPRECATED: The 'partial_search' API is deprecated and will be removed in - future releases. Please use 'search' with a :filter_result argument to get - partial search data. - WARNDEP +DEPRECATED: The 'partial_search' API is deprecated and will be removed in +future releases. Please use 'search' with a :filter_result argument to get +partial search data. +WARNDEP if !args.empty? && args.first.is_a?(Hash) # partial_search uses :keys instead of :filter_result for |