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

Back to archive index

Kouhei Sutou null+****@clear*****
Sat Jun 28 23:04:28 JST 2014


Kouhei Sutou	2014-06-28 23:04:28 +0900 (Sat, 28 Jun 2014)

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

  Message:
    Fix indent

  Modified files:
    lib/droonga/catalog_generator.rb

  Modified: lib/droonga/catalog_generator.rb (+7 -7)
===================================================================
--- lib/droonga/catalog_generator.rb    2014-06-28 22:46:54 +0900 (0407d49)
+++ lib/droonga/catalog_generator.rb    2014-06-28 23:04:28 +0900 (beb699a)
@@ -36,13 +36,13 @@ module Droonga
           dataset = params[name]
           dataset[:hosts] = modification[:hosts] if modification[:hosts]
 
-            if modification[:add_replica_hosts]
-              dataset[:hosts] += modification[:add_replica_hosts]
-              dataset[:hosts].uniq!
-            end
-            if modification[:remove_replica_hosts]
-              dataset[:hosts] -= modification[:remove_replica_hosts]
-            end
+          if modification[:add_replica_hosts]
+            dataset[:hosts] += modification[:add_replica_hosts]
+            dataset[:hosts].uniq!
+          end
+          if modification[:remove_replica_hosts]
+            dataset[:hosts] -= modification[:remove_replica_hosts]
+          end
         end
         params
       end
-------------- next part --------------
HTML����������������������������...
Download 



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