[Groonga-commit] droonga/fluent-plugin-droonga at 4330e76 [master] Fix syntax error

Back to archive index

YUKI Hiroshi null+****@clear*****
Mon Feb 3 12:16:37 JST 2014


YUKI Hiroshi	2014-02-03 12:16:37 +0900 (Mon, 03 Feb 2014)

  New Revision: 4330e76f69b9c8c975a338917224c33e69ae668f
  https://github.com/droonga/fluent-plugin-droonga/commit/4330e76f69b9c8c975a338917224c33e69ae668f

  Message:
    Fix syntax error

  Modified files:
    lib/droonga/plugin/distributor/crud.rb
    lib/droonga/plugin/distributor/groonga.rb
    lib/droonga/plugin/distributor/watch.rb

  Modified: lib/droonga/plugin/distributor/crud.rb (+3 -1)
===================================================================
--- lib/droonga/plugin/distributor/crud.rb    2014-02-03 12:14:16 +0900 (f1efe14)
+++ lib/droonga/plugin/distributor/crud.rb    2014-02-03 12:16:37 +0900 (d69a79b)
@@ -41,7 +41,9 @@ module Droonga
     def scatter(message)
       super(message,
             :key => message["body"]["key"] || rand.to_s,
-            :reduce => { "success" => "type" => "and" })
+            :reduce => {
+              "success" => { "type" => "and" }
+            })
     end
   end
 end

  Modified: lib/droonga/plugin/distributor/groonga.rb (+3 -1)
===================================================================
--- lib/droonga/plugin/distributor/groonga.rb    2014-02-03 12:14:16 +0900 (6579060)
+++ lib/droonga/plugin/distributor/groonga.rb    2014-02-03 12:16:37 +0900 (aa19c95)
@@ -46,7 +46,9 @@ module Droonga
     def broadcast(message)
       super(message,
             :write => true,
-            :reduce => { "result" => "type" => "or" })
+            :reduce => {
+              "result" => { "type" => "or" }
+            })
     end
   end
 end

  Modified: lib/droonga/plugin/distributor/watch.rb (+3 -1)
===================================================================
--- lib/droonga/plugin/distributor/watch.rb    2014-02-03 12:14:16 +0900 (76d4c25)
+++ lib/droonga/plugin/distributor/watch.rb    2014-02-03 12:16:37 +0900 (477f8c4)
@@ -45,7 +45,9 @@ module Droonga
     def broadcast(message)
       super(message,
             :write => true,
-            :reduce => { "success" => "type" => "and" })
+            :reduce => {
+              "success" => { "type" => "and" }
+            })
     end
   end
 end
-------------- next part --------------
HTML����������������������������...
Download 



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