[Groonga-commit] droonga/fluent-plugin-droonga at 17f4fa6 [master] Ignore non-conflict plugins correctly

Back to archive index

YUKI Hiroshi null+****@clear*****
Thu Feb 20 15:41:24 JST 2014


YUKI Hiroshi	2014-02-20 15:41:24 +0900 (Thu, 20 Feb 2014)

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

  Message:
    Ignore non-conflict plugins correctly

  Modified files:
    lib/droonga/handler_runner.rb

  Modified: lib/droonga/handler_runner.rb (+1 -1)
===================================================================
--- lib/droonga/handler_runner.rb    2014-02-20 15:33:22 +0900 (6e80190)
+++ lib/droonga/handler_runner.rb    2014-02-20 15:41:24 +0900 (1b7c33d)
@@ -105,7 +105,7 @@ module Droonga
         types[type] << handler_class
       end
       types.each do |type, handler_classes|
-        types.delete(type) if handler_classes.size > 1
+        types.delete(type) if handler_classes.size == 1
       end
       if types.size > 0
         raise ConflictForSameCommand.new(types, @dataset_name)
-------------- next part --------------
HTML����������������������������...
Download 



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