Skip to content

Commit

Permalink
trying to clean up single quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
Missy authored and Missy committed May 2, 2013
1 parent 219e7e2 commit d09b4ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion squirrel/replay.rb
Expand Up @@ -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}''")
Expand Down

0 comments on commit d09b4ee

Please sign in to comment.