Kouhei Sutou
null+****@clear*****
Thu Aug 28 21:46:16 JST 2014
Kouhei Sutou 2014-08-28 21:46:16 +0900 (Thu, 28 Aug 2014) New Revision: 81cb554ec47b19a35b539e5814b9559a4f70a98f https://github.com/long-long-float/droonga-engine/commit/81cb554ec47b19a35b539e5814b9559a4f70a98f Message: Name floating NodeStatus instance Modified files: lib/droonga/command/remote.rb Modified: lib/droonga/command/remote.rb (+4 -2) =================================================================== --- lib/droonga/command/remote.rb 2014-08-28 21:39:39 +0900 (e4f7958) +++ lib/droonga/command/remote.rb 2014-08-28 21:46:16 +0900 (e638746) @@ -70,13 +70,15 @@ module Droonga class ChangeRole < Base def process - NodeStatus.new.set(:role, @params["role"]) + node_status = NodeStatus.new + node_status.set(:role, @params["role"]) end end class ReportStatus < Base def process - @response["value"] = NodeStatus.new.get(@params["key"]) + node_status = NodeStatus.new + @response["value"] = node_status.get(@params["key"]) end end -------------- next part -------------- HTML����������������������������... 다운로드