[Groonga-commit] droonga/fluent-plugin-droonga at e68395a [master] Remove needless statusCode to request

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Feb 6 13:40:51 JST 2014


Kouhei Sutou	2014-02-06 13:40:51 +0900 (Thu, 06 Feb 2014)

  New Revision: e68395ab4ee73f9e37c3718ad9b581b2d3ec620a
  https://github.com/droonga/fluent-plugin-droonga/commit/e68395ab4ee73f9e37c3718ad9b581b2d3ec620a

  Message:
    Remove needless statusCode to request

  Modified files:
    lib/groonga_command_converter.rb

  Modified: lib/groonga_command_converter.rb (+1 -4)
===================================================================
--- lib/groonga_command_converter.rb    2014-02-06 13:40:22 +0900 (4874058)
+++ lib/groonga_command_converter.rb    2014-02-06 13:40:51 +0900 (dde5b9e)
@@ -1,6 +1,6 @@
 # -*- coding: utf-8 -*-
 #
-# Copyright (C) 2013 Droonga Project
+# Copyright (C) 2013-2014 Droonga Project
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -21,8 +21,6 @@ require "time"
 
 module Droonga
   class GroongaCommandConverter
-    STATUS_OK = 200
-
     def initialize(options={})
       @options = options
       @count = 0
@@ -82,7 +80,6 @@ module Droonga
         :id => id,
         :date => format_date(@options[:date] || Time.now),
         :replyTo => @options[:reply_to],
-        :statusCode => @options[:status_code] || STATUS_OK,
         :dataset => @options[:dataset],
         :type => type,
         :body => body,
-------------- next part --------------
HTML����������������������������...
Download 



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