[Groonga-commit] droonga/fluent-plugin-droonga at d34c814 [master] Accept the message received node does nothing case at start

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Jan 27 17:20:28 JST 2014


Kouhei Sutou	2014-01-27 17:20:28 +0900 (Mon, 27 Jan 2014)

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

  Message:
    Accept the message received node does nothing case at start

  Modified files:
    lib/droonga/session.rb

  Modified: lib/droonga/session.rb (+1 -1)
===================================================================
--- lib/droonga/session.rb    2014-01-27 16:41:45 +0900 (ba11ac9)
+++ lib/droonga/session.rb    2014-01-27 17:20:28 +0900 (aff2225)
@@ -29,7 +29,7 @@ module Droonga
     end
 
     def start
-      tasks = @inputs[nil]
+      tasks = @inputs[nil] || []
       tasks.each do |task|
         local_message = {
           "id"   => @id,
-------------- next part --------------
HTML����������������������������...
Download 



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