[Groonga-commit] droonga/drnbench at 041ef87 [master] Fix mismatched variable name

Back to archive index

YUKI Hiroshi null+****@clear*****
Mon Jan 20 15:37:36 JST 2014


YUKI Hiroshi	2014-01-20 15:37:36 +0900 (Mon, 20 Jan 2014)

  New Revision: 041ef8719f99237dd208f37bf876e118e0f47dff
  https://github.com/droonga/drnbench/commit/041ef8719f99237dd208f37bf876e118e0f47dff

  Message:
    Fix mismatched variable name

  Modified files:
    lib/drnbench/client/http.rb

  Modified: lib/drnbench/client/http.rb (+2 -2)
===================================================================
--- lib/drnbench/client/http.rb    2014-01-20 15:35:41 +0900 (aa1882f)
+++ lib/drnbench/client/http.rb    2014-01-20 15:37:36 +0900 (16ca0cf)
@@ -23,8 +23,8 @@ module Drnbench
           client = Droonga::Client.new(:protocol => :http,
                                        :host => request["host"],
                                        :port => request["port"])
-          message["headers"] ||= {}
-          message["headers"]["user-agent"] = "Ruby/#{RUBY_VERSION} Droonga::Benchmark::Runner::HttpClient"
+          request["headers"] ||= {}
+          request["headers"]["user-agent"] = "Ruby/#{RUBY_VERSION} Droonga::Benchmark::Runner::HttpClient"
           start_time = Time.now
           client.request(request) do |response|
             @result << {
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index