[Groonga-commit] droonga/droonga-engine at 9ab80fc [master] Use correct plural form

Back to archive index

YUKI Hiroshi null+****@clear*****
Wed Apr 1 15:13:01 JST 2015


YUKI Hiroshi	2015-04-01 15:13:01 +0900 (Wed, 01 Apr 2015)

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

  Message:
    Use correct plural form

  Modified files:
    bin/droonga-engine-join

  Modified: bin/droonga-engine-join (+4 -4)
===================================================================
--- bin/droonga-engine-join    2015-04-01 14:48:41 +0900 (249f1ad)
+++ bin/droonga-engine-join    2015-04-01 15:13:01 +0900 (000e898)
@@ -42,13 +42,13 @@ class JoinCommand
     puts "Source Cluster ID: #{source_cluster_id}"
     puts ""
 
-    set_node_role
+    set_nodes_role
     begin
       register_to_existing_nodes
       do_join
       copy_data unless @options["no-copy"]
       set_effective_message_timestamp
-      reset_node_role
+      reset_nodes_role
       puts("Done.")
     rescue Exception => exception
       puts("Unexpected exception: #{exception.message}")
@@ -156,7 +156,7 @@ class JoinCommand
     Droonga::DataAbsorber.new(absorber_options)
   end
 
-  def set_node_role
+  def set_nodes_role
     if absorber.source_node_suspendable?
       puts("Changing role of the source node...")
       run_remote_command(source_node, "change_role",
@@ -172,7 +172,7 @@ class JoinCommand
     @node_role_changed = true
   end
 
-  def reset_node_role
+  def reset_nodes_role
     if absorber.source_node_suspendable?
       puts("Restoring role of the source node...")
       run_remote_command(source_node, "change_role",
-------------- next part --------------
HTML����������������������������...
다운로드 



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