Navigation Menu

Skip to content

Commit

Permalink
Remove obsolete remote command "report_metadata"
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Apr 21, 2015
1 parent df8c367 commit 82a1000
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
7 changes: 0 additions & 7 deletions lib/droonga/command/remote.rb
Expand Up @@ -131,13 +131,6 @@ def process
end
end

class ReportMetadata < Base
def process
metadata = NodeMetadata.new
@response["value"] = metadata.get(@params["key"])
end
end

class CrossNodeCommandBase < Base
private
def source_node
Expand Down
2 changes: 0 additions & 2 deletions lib/droonga/command/serf_event_handler.rb
Expand Up @@ -84,8 +84,6 @@ def detect_command_class_from_custom_event(event_name)
Remote::ChangeRole
when "accept_messages_newer_than"
Remote::AcceptMessagesNewerThan
when "report_metadata"
Remote::ReportMetadata
when "join"
Remote::Join
when "unjoin"
Expand Down

0 comments on commit 82a1000

Please sign in to comment.