[Groonga-commit] droonga/fluent-plugin-droonga at b8af2fd [master] Don't use dispatcher's envelope

Zurück zum Archiv-Index

Kouhei Sutou null+****@clear*****
Fri Dec 20 17:56:35 JST 2013


Kouhei Sutou	2013-12-20 17:56:35 +0900 (Fri, 20 Dec 2013)

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

  Message:
    Don't use dispatcher's envelope

  Modified files:
    lib/droonga/output_adapter.rb

  Modified: lib/droonga/output_adapter.rb (+1 -1)
===================================================================
--- lib/droonga/output_adapter.rb    2013-12-20 17:43:54 +0900 (0b79df0)
+++ lib/droonga/output_adapter.rb    2013-12-20 17:56:35 +0900 (d64e074)
@@ -30,7 +30,7 @@ module Droonga
 
     def adapt(message)
       adapted_message = message
-      @dispatcher.envelope["via"].reverse_each do |command|
+      message["via"].reverse_each do |command|
         @plugins.each do |plugin|
           next unless plugin.processable?(command)
           output_message = OutputMessage.new(adapted_message)
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Zurück zum Archiv-Index