Skip to content

Commit

Permalink
fixed confusing typo in failure message
Browse files Browse the repository at this point in the history
  • Loading branch information
Mellissa DeLaet committed May 7, 2013
1 parent c869e5e commit d3b67b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/warmindices.rb
Expand Up @@ -48,7 +48,7 @@ def sorted_query fields


def run def run
indices.each do |index| indices.each do |index|
fields = mappings[index]['properties'].keys rescue abort("The provided index <#{index}> was not found in config/mapping.yml") fields = mappings[index]['properties'].keys rescue abort("The provided index <#{index}> was not found in config/mappings.yml")
uri = warmer_uri(index) uri = warmer_uri(index)
body = sorted_query(fields) body = sorted_query(fields)
puts "Creating warmer for index #{index}" puts "Creating warmer for index #{index}"
Expand Down

0 comments on commit d3b67b3

Please sign in to comment.