Navigation Menu

Skip to content

Commit

Permalink
No need to use collect
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Jan 22, 2015
1 parent 0d98ebb commit 0e6a749
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/droonga/catalog/version1.rb
Expand Up @@ -454,7 +454,7 @@ def sliced?
def collect_all_nodes
nodes = []
self["ring"].each do |ring_key, part|
part["partitions"].collect do |partition|
part["partitions"].each do |partition|
partition =~ /\A([^:]+:[0-9]+\/[^\.]+)/
nodes << $1
end
Expand Down

0 comments on commit 0e6a749

Please sign in to comment.