Navigation Menu

Skip to content

Commit

Permalink
Normalize routes in steps also
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Apr 2, 2015
1 parent 5a1f1ec commit 1274cd7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/droonga/dispatcher.rb
Expand Up @@ -230,7 +230,9 @@ def dispatch_steps(steps)
end
end
routes = dataset.compute_routes(step, target_nodes)
step["routes"] = routes
step["routes"] = routes.collect do |route|
farm_path(route)
end
else
step["routes"] ||= [id]
end
Expand Down

0 comments on commit 1274cd7

Please sign in to comment.