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

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Apr 13 09:42:17 JST 2017


Kouhei Sutou	2017-04-13 09:42:17 +0900 (Thu, 13 Apr 2017)

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

  Message:
    Fix indent

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

  Modified: lib/fluent/plugin/in_groonga.rb (+9 -9)
===================================================================
--- lib/fluent/plugin/in_groonga.rb    2017-04-13 09:39:57 +0900 (f20f066)
+++ lib/fluent/plugin/in_groonga.rb    2017-04-13 09:42:17 +0900 (bacf900)
@@ -206,9 +206,9 @@ module Fluent
           @repeater =****@input*****_repeater(self)
           @repeater.on_connect_failed do
             @input.log.error("[input][groonga][connect][error] " +
-                       "failed to connect to Groonga:",
-                       :real_host => @input.real_host,
-                       :real_port => @input.real_port)
+                             "failed to connect to Groonga:",
+                             :real_host => @input.real_host,
+                             :real_port => @input.real_port)
             close
           end
           @request_handler = RequestHandler.new(@input, @repeater)
@@ -220,14 +220,14 @@ module Fluent
             @request_handler << data
           rescue HTTP::Parser::Error, URI::InvalidURIError
             @input.log.error("[input][groonga][request][error] " +
-                       "failed to parse HTTP request:",
-                       :error => "#{$!.class}: #{$!}")
+                             "failed to parse HTTP request:",
+                             :error => "#{$!.class}: #{$!}")
             @input.log.error_backtrace
             reply_error_response("400 Bad Request")
           rescue
             @input.log.error("[input][groonga][request][error] " +
-                       "failed to handle HTTP request:",
-                       :error => "#{$!.class}: #{$!}")
+                             "failed to handle HTTP request:",
+                             :error => "#{$!.class}: #{$!}")
             @input.log.error_backtrace
             reply_error_response("500 Internal Server Error")
           end
@@ -238,8 +238,8 @@ module Fluent
             @response_handler << data
           rescue
             @input.log.error("[input][groonga][response][error] " +
-                       "failed to handle HTTP response from Groonga:",
-                       :error => "#{$!.class}: #{$!}")
+                             "failed to handle HTTP response from Groonga:",
+                             :error => "#{$!.class}: #{$!}")
             @input.log.error_backtrace
             reply_error_response("500 Internal Server Error")
             return
-------------- next part --------------
HTML����������������������������...
下载 



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