[Groonga-commit] droonga/droonga-engine at a894c64 [master] Fix indent

Back to archive index

YUKI Hiroshi null+****@clear*****
Wed Jul 16 19:45:31 JST 2014


YUKI Hiroshi	2014-07-16 19:45:31 +0900 (Wed, 16 Jul 2014)

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

  Message:
    Fix indent

  Modified files:
    bin/droonga-engine-join

  Modified: bin/droonga-engine-join (+6 -6)
===================================================================
--- bin/droonga-engine-join    2014-07-16 19:45:04 +0900 (179a776)
+++ bin/droonga-engine-join    2014-07-16 19:45:31 +0900 (9116b36)
@@ -100,13 +100,13 @@ generator.load(source_catalog)
 
 dataset = generator.dataset_for_host(options.replica_source_host)
 if dataset
-if generator.dataset_for_host(options.joining_host)
-  raise "The joining node is already a member of the cluster. " +
-          "You cannot join a member twice."
-end
+  if generator.dataset_for_host(options.joining_host)
+    raise "The joining node is already a member of the cluster. " +
+            "You cannot join a member twice."
+  end
 
-options.tag  = dataset.replicas.tag
-options.port = dataset.replicas.port
+  options.tag  = dataset.replicas.tag
+  options.port = dataset.replicas.port
 end
 
 options.joining_node = "#{options.joining_host}:#{options.port}/#{options.tag}"
-------------- next part --------------
HTML����������������������������...
Download 



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