[Groonga-commit] long-long-float/droonga-engine at a687601 [master] Use "status" instead of "node_status"

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Aug 28 21:48:24 JST 2014


Kouhei Sutou	2014-08-28 21:48:24 +0900 (Thu, 28 Aug 2014)

  New Revision: a687601a4de337df5be389a8bf414a0bc96191e3
  https://github.com/long-long-float/droonga-engine/commit/a687601a4de337df5be389a8bf414a0bc96191e3

  Message:
    Use "status" instead of "node_status"
    
    Because other codes in the same file use "status".

  Modified files:
    lib/droonga/command/remote.rb

  Modified: lib/droonga/command/remote.rb (+4 -4)
===================================================================
--- lib/droonga/command/remote.rb    2014-08-28 21:46:16 +0900 (e638746)
+++ lib/droonga/command/remote.rb    2014-08-28 21:48:24 +0900 (0d355c8)
@@ -70,15 +70,15 @@ module Droonga
 
       class ChangeRole < Base
         def process
-          node_status = NodeStatus.new
-          node_status.set(:role, @params["role"])
+          status = NodeStatus.new
+          status.set(:role, @params["role"])
         end
       end
 
       class ReportStatus < Base
         def process
-          node_status = NodeStatus.new
-          @response["value"] = node_status.get(@params["key"])
+          status = NodeStatus.new
+          @response["value"] = status.get(@params["key"])
         end
       end
 
-------------- next part --------------
HTML����������������������������...
Download 



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