[Groonga-commit] groonga/fluent-plugin-groonga at 397c55a [master] Fix indent

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Jan 16 08:55:11 JST 2018


Kouhei Sutou	2018-01-16 08:55:11 +0900 (Tue, 16 Jan 2018)

  New Revision: 397c55a68df1a6c3a8c31ff3d3e46392dc95d8f4
  https://github.com/groonga/fluent-plugin-groonga/commit/397c55a68df1a6c3a8c31ff3d3e46392dc95d8f4

  Message:
    Fix indent

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

  Modified: lib/fluent/plugin/in_groonga.rb (+10 -10)
===================================================================
--- lib/fluent/plugin/in_groonga.rb    2018-01-16 08:52:12 +0900 (2e7d146)
+++ lib/fluent/plugin/in_groonga.rb    2018-01-16 08:55:11 +0900 (1e43027)
@@ -159,16 +159,16 @@ module Fluent
           normalized_command = command.split(".")[0]
           return unless emit_command?(normalized_command)
           case @input_plugin.command_format
-              when :tag
-                 tag = "groonga.command.#{normalized_command}"
-                 record = params
-              else
-                 tag = "groonga.command"
-                 record = {
-                   "name" => normalized_command,
-                   "arguments" => params
-                 }
-              end
+          when :tag
+            tag = "groonga.command.#{normalized_command}"
+            record = params
+          else
+            tag = "groonga.command"
+            record = {
+              "name" => normalized_command,
+              "arguments" => params
+            }
+          end
           @input_plugin.router.emit(tag,
                                     Engine.now,
                                     record)
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20180116/18656662/attachment.htm 



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