Permalink
Browse files

changed uri concatinate(sp?) to attach the correct string

  • Loading branch information...
1 parent 236f873 commit a8590f1d853cbb51c899628d94c683a7a0e372e9 Missy committed May 2, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 squirrel/replay.rb
View
@@ -155,7 +155,7 @@ def output(query, data, malformed=false)
def build_curl_command_string(data)
base_uri = "#{@host}:#{@port}/#{data['index']}/_search/"
if @preference[0]
- base_uri.concat(@preference[1])
+ base_uri.concat("preference=#{@preference[1]}")
end
puts base_uri
end

0 comments on commit a8590f1

Please sign in to comment.