Skip to content
Browse files

removed unneeded debugging

  • Loading branch information...
1 parent 799f919 commit 8b401171a245fad994595ce40c17b9e20576c7fe Missy committed Apr 30, 2013
Showing with 1 addition and 6 deletions.
  1. +1 −6 squirrel/warmer_interface.rb
View
7 squirrel/warmer_interface.rb
@@ -17,12 +17,7 @@ def add_warmer
url = "http://#{@host}:#{@port}/#{@index}/_warmer/#{@warmer_name}"
puts url
puts @query
- response = HTTParty.put(url, {:body => @query})
- #puts "`curl -s -XPUT '#{@host}:#{@port}/#{@index}/_warmer/#{@warmer_name}' -d '#{@query}'`"
- #puts "\n"
- puts response
- #output = %x(curl -s -XPUT '#{@host}:#{@port}/#{@index}/_warmer/#{@warmer_name}' -d '#{@query}')
- #puts output
+ HTTParty.put(url, {:body => @query})
end
def remove_warmer

0 comments on commit 8b40117

Please sign in to comment.
Something went wrong with that request. Please try again.