[Groonga-commit] groonga/fluent-plugin-kotoumi [master] Use " for string literal

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Jan 30 17:37:01 JST 2013


Kouhei Sutou	2013-01-30 17:37:01 +0900 (Wed, 30 Jan 2013)

  New Revision: e13d8d7136b2839a82ee474102a9e95e7aab6fc3
  https://github.com/groonga/fluent-plugin-kotoumi/commit/e13d8d7136b2839a82ee474102a9e95e7aab6fc3

  Log:
    Use " for string literal

  Modified files:
    lib/fluent/plugin/out_kotoumi.rb

  Modified: lib/fluent/plugin/out_kotoumi.rb (+3 -3)
===================================================================
--- lib/fluent/plugin/out_kotoumi.rb    2013-01-30 17:35:53 +0900 (0b10e59)
+++ lib/fluent/plugin/out_kotoumi.rb    2013-01-30 17:37:01 +0900 (c9262db)
@@ -17,11 +17,11 @@
 
 require "socket"
 require "msgpack"
-require 'kotoumi/worker'
+require "kotoumi/worker"
 
 module Fluent
   class KotoumiOutput < Output
-    Plugin.register_output('kotoumi', self)
+    Plugin.register_output("kotoumi", self)
 
     config_param :database, :string, :default => "kotoumi.db"
     config_param :queuename, :string, :default => "KotoumiQueue"
@@ -58,7 +58,7 @@ module Fluent
       if record["replyTo"]
         post(record["replyTo"], tag, {
                inReplyTo: record["id"],
-               type: (record["type"] || "") + '.result',
+               type: (record["type"] || "") + ".result",
                body: result
              })
       end
-------------- next part --------------
HTML����������������������������...
Descargar 



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