Permalink
Browse files

trying to clean up single quotes

  • Loading branch information...
Missy Missy
Missy authored and Missy committed May 2, 2013
1 parent 219e7e2 commit d09b4eeb4b7b14eede3058531996dbfac337f0b4
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(query, data)
base_uri = "'#{@host}:#{@port}/#{data['index']}/_search/"
if @preference[0]
- base_uri.concat("preference=#{@preference[1]}''")
+ base_uri.concat("preference=#{@preference[1]}")
end
curl_command = "curl -s -XGET ".concat(base_uri)
curl_command.concat("' -d '#{query}''")

0 comments on commit d09b4ee

Please sign in to comment.