YUKI Hiroshi
null+****@clear*****
Thu Dec 26 14:40:54 JST 2013
YUKI Hiroshi 2013-12-26 14:40:54 +0900 (Thu, 26 Dec 2013) New Revision: 162edbfed5d0a6e16662f05ce923a3885ec41233 https://github.com/droonga/fluent-plugin-droonga/commit/162edbfed5d0a6e16662f05ce923a3885ec41233 Message: Return error for missing type request correctly Modified files: lib/fluent/plugin/out_droonga.rb Modified: lib/fluent/plugin/out_droonga.rb (+1 -1) =================================================================== --- lib/fluent/plugin/out_droonga.rb 2013-12-26 14:38:26 +0900 (3c141ce) +++ lib/fluent/plugin/out_droonga.rb 2013-12-26 14:40:54 +0900 (f4b30b0) @@ -64,7 +64,7 @@ module Fluent reply_to = message["replyTo"] if reply_to.is_a? String message["replyTo"] = { - "type" => message["type"] + ".result", + "type" => "#{message["type"] || ""}.result", "to" => reply_to } end -------------- next part -------------- HTML����������������������������... Download