Skip to content
This repository has been archived by the owner on Aug 12, 2024. It is now read-only.

Commit

Permalink
avoud sort_by!
Browse files Browse the repository at this point in the history
  • Loading branch information
mmcgrana committed Feb 6, 2013
1 parent 000eff9 commit 0fc5b6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/heroku/deploy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def rolling
counts[process["process_type"]] += 1
counts
end
processes.sort_by! do |p|
processes = processes.sort_by do |p|
(p["process_num"].to_f / process_counts[p["process_type"]].to_f)
end

Expand Down

0 comments on commit 0fc5b6e

Please sign in to comment.