Navigation Menu

Skip to content

Commit

Permalink
Revert "Output dead nodes also"
Browse files Browse the repository at this point in the history
This reverts commit 88056ea.
  • Loading branch information
piroor committed Jun 26, 2014
1 parent d88b3e5 commit fdb7bf7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/droonga/command/serf_event_handler.rb
Expand Up @@ -70,9 +70,10 @@ def live_nodes
members = `#{@serf} members -rpc-addr #{@serf_rpc_address}`
members.each_line do |member|
name, address, status, tags, = member.strip.split(/\s+/)
next unless status == "alive"

nodes[name] = {
"serfAddress" => address,
"live" => status == "alive",
"tags" => parse_tags(tags),
}
end
Expand Down

0 comments on commit fdb7bf7

Please sign in to comment.