[Groonga-commit] droonga/fluent-plugin-droonga at bbe0858 [master] Fix mismatched variable name

Back to archive index

YUKI Hiroshi null+****@clear*****
Thu Feb 13 14:22:06 JST 2014


YUKI Hiroshi	2014-02-13 14:22:06 +0900 (Thu, 13 Feb 2014)

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

  Message:
    Fix mismatched variable name

  Modified files:
    lib/droonga/catalog/base.rb

  Modified: lib/droonga/catalog/base.rb (+2 -2)
===================================================================
--- lib/droonga/catalog/base.rb    2014-02-13 14:21:10 +0900 (51bd865)
+++ lib/droonga/catalog/base.rb    2014-02-13 14:22:06 +0900 (978727e)
@@ -264,7 +264,7 @@ module Droonga
       end
 
       def validate_zone(zone, name)
-        case value
+        case zone
         when String
           return
         when Array
@@ -272,7 +272,7 @@ module Droonga
             validate_zone(sub_zone, "#{name}[#{index}]")
           end
         else
-          validate_parameter_type([String, Array], value, name)
+          validate_parameter_type([String, Array], zone, name)
         end
       end
 
-------------- next part --------------
HTML����������������������������...
Download 



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