[Groonga-commit] droonga/droonga-engine at aeded9f [master] Normalize NodeName#role as a node role

Back to archive index

YUKI Hiroshi null+****@clear*****
Thu Apr 30 11:34:48 JST 2015


YUKI Hiroshi	2015-04-30 11:34:48 +0900 (Thu, 30 Apr 2015)

  New Revision: aeded9f3ebf91d537165a8a969c90da6ced08962
  https://github.com/droonga/droonga-engine/commit/aeded9f3ebf91d537165a8a969c90da6ced08962

  Message:
    Normalize NodeName#role as a node role

  Modified files:
    lib/droonga/engine_node.rb

  Modified: lib/droonga/engine_node.rb (+1 -1)
===================================================================
--- lib/droonga/engine_node.rb    2015-04-30 11:30:42 +0900 (2e5b4e3)
+++ lib/droonga/engine_node.rb    2015-04-30 11:34:48 +0900 (266dcf0)
@@ -112,7 +112,7 @@ module Droonga
 
     def role
       if @state
-        @state["role"]
+        NodeRole.normalize(@state["role"])
       else
         NodeRole::SERVICE_PROVIDER
       end
-------------- next part --------------
HTML����������������������������...
Download 



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