Skip to content

Commit

Permalink
Fix spelling.
Browse files Browse the repository at this point in the history
  • Loading branch information
Claire McQuin committed Dec 19, 2014
1 parent 79ee763 commit 2ec9334
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/chef/search/query.rb
Expand Up @@ -102,7 +102,7 @@ def search(type, query='*:*', *args, &block)
def validate_type(t)
unless t.kind_of?(String) || t.kind_of?(Symbol)
msg = "Invalid search object type #{t.inspect} (#{t.class}), must be a String or Symbol." +
"Useage: search(:node, QUERY[, OPTIONAL_ARGS])" +
"Usage: search(:node, QUERY[, OPTIONAL_ARGS])" +
" `knife search environment QUERY (options)`"
raise Chef::Exceptions::InvalidSearchQuery, msg
end
Expand Down

0 comments on commit 2ec9334

Please sign in to comment.