Kouhei Sutou
null+****@clear*****
Thu Dec 19 18:30:12 JST 2013
Kouhei Sutou 2013-12-19 18:30:12 +0900 (Thu, 19 Dec 2013) New Revision: f1c9dfeda4733e60ce3fed8e3690be5d1043ab8b https://github.com/droonga/fluent-plugin-droonga/commit/f1c9dfeda4733e60ce3fed8e3690be5d1043ab8b Message: Fix wrong key type Deroonga message should use String for key. Modified files: lib/droonga/forwarder.rb Modified: lib/droonga/forwarder.rb (+7 -7) =================================================================== --- lib/droonga/forwarder.rb 2013-12-19 18:24:28 +0900 (fee5c67) +++ lib/droonga/forwarder.rb 2013-12-19 18:30:12 +0900 (7f894fd) @@ -73,16 +73,16 @@ module Droonga end if command =~ /\.result$/ message = { - inReplyTo: envelope["id"], - statusCode: 200, - type: command, - body: body + "inReplyTo" => envelope["id"], + "statusCode" => 200, + "type" => command, + "body" => body } else message = envelope.merge( - body: body, - type: command, - arguments: arguments + "body" => body, + "type" => command, + "arguments" => arguments ) end output_tag = "#{tag}.message" -------------- next part -------------- HTML����������������������������... Download