[Groonga-commit] long-long-float/droonga-engine at fa4911d [master] Return nil expressly for the failure case

Back to archive index

YUKI Hiroshi null+****@clear*****
Fri Aug 29 10:52:17 JST 2014


YUKI Hiroshi	2014-08-29 10:52:17 +0900 (Fri, 29 Aug 2014)

  New Revision: fa4911d65415e3f343fcab42f28ff6a628916e84
  https://github.com/long-long-float/droonga-engine/commit/fa4911d65415e3f343fcab42f28ff6a628916e84

  Message:
    Return nil expressly for the failure case

  Modified files:
    lib/droonga/command/serf_event_handler.rb

  Modified: lib/droonga/command/serf_event_handler.rb (+2 -0)
===================================================================
--- lib/droonga/command/serf_event_handler.rb    2014-08-29 10:28:31 +0900 (47c6c92)
+++ lib/droonga/command/serf_event_handler.rb    2014-08-29 10:52:17 +0900 (b7f2802)
@@ -52,6 +52,8 @@ module Droonga
           detect_command_class_from_custom_event(ENV["SERF_QUERY_NAME"])
         when "member-join", "member-leave", "member-update", "member-reap"
           Remote::UpdateLiveNodes
+        else
+          nil
         end
       end
 
-------------- next part --------------
HTML����������������������������...
Télécharger 



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