[Groonga-commit] groonga/fluent-plugin-droonga at e4dd6a9 [master] Fix a bug missing to pass arguments to the handler.

Back to archive index

Daijiro MORI null+****@clear*****
Wed Apr 24 20:16:01 JST 2013


Daijiro MORI	2013-04-24 20:16:01 +0900 (Wed, 24 Apr 2013)

  New Revision: e4dd6a956d775fa8353b9c410752d1b903ad0e3a
  https://github.com/groonga/fluent-plugin-droonga/commit/e4dd6a956d775fa8353b9c410752d1b903ad0e3a

  Message:
    Fix a bug missing to pass arguments to the handler.

  Modified files:
    lib/droonga/worker.rb

  Modified: lib/droonga/worker.rb (+2 -1)
===================================================================
--- lib/droonga/worker.rb    2013-04-24 15:54:52 +0900 (86253de)
+++ lib/droonga/worker.rb    2013-04-24 20:16:01 +0900 (da2e008)
@@ -188,7 +188,8 @@ module Droonga
         parse_message(message)
         command = envelope["type"]
         handler = find_handler(command)
-        handler.handle(command, envelope["body"]) if handler
+        arguments = envelope["arguments"]
+        handler.handle(command, envelope["body"], *arguments) if handler
       end
     end
 
-------------- next part --------------
HTML����������������������������...
Download 



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