[Groonga-commit] droonga/droonga-engine at 12174ec [master] Use more meaningful method name

Back to archive index

YUKI Hiroshi null+****@clear*****
Fri Dec 26 17:59:48 JST 2014


YUKI Hiroshi	2014-12-26 17:59:48 +0900 (Fri, 26 Dec 2014)

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

  Message:
    Use more meaningful method name

  Modified files:
    lib/droonga/cluster_state.rb

  Modified: lib/droonga/cluster_state.rb (+2 -2)
===================================================================
--- lib/droonga/cluster_state.rb    2014-12-26 16:12:24 +0900 (e3fd10c)
+++ lib/droonga/cluster_state.rb    2014-12-26 17:59:48 +0900 (9917ed8)
@@ -51,7 +51,7 @@ module Droonga
     def reload
       old_state = to_hash
       clear_cache
-      @state = state
+      @state = load_state_file
       if to_hash == old_state
         logger.info("cluster state not changed")
       else
@@ -154,7 +154,7 @@ module Droonga
       @absorb_destination_nodes = nil
     end
 
-    def state
+    def load_state_file
       path = Path.cluster_state
 
       return default_state unless path.exist?
-------------- next part --------------
HTML����������������������������...
다운로드 



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