[Groonga-commit] droonga/fluent-plugin-droonga at 9c9eb7b [master] Post only when destination is specified

Back to archive index

Yoji Shidara null+****@clear*****
Mon Dec 9 17:41:51 JST 2013


Yoji Shidara	2013-12-09 17:41:51 +0900 (Mon, 09 Dec 2013)

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

  Message:
    Post only when destination is specified

  Modified files:
    lib/droonga/handler.rb

  Modified: lib/droonga/handler.rb (+3 -1)
===================================================================
--- lib/droonga/handler.rb    2013-12-09 17:31:05 +0900 (9dbc99b)
+++ lib/droonga/handler.rb    2013-12-09 17:41:51 +0900 (21caf1c)
@@ -126,7 +126,9 @@ module Droonga
       if @component["post"]
         destination = @component["post"]
         destination = envelope["replyTo"] if destination == true
-        post(result, destination)
+        if destination
+          post(result, destination)
+        end
       end
       @descendants.each do |name, dests|
         message = {
-------------- next part --------------
HTML����������������������������...
Download 



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