Commit 33d1ae4d authored by Quang-Minh Nguyen's avatar Quang-Minh Nguyen

Re-assign a compare-by-identity hash instead

parent ecdb5a38
......@@ -80,7 +80,7 @@ module Gitlab
end
def update_pools
@pools = @hosts.each_with_object({}) do |host, flags|
@pools = @hosts.each_with_object({}.compare_by_identity) do |host, flags|
flags[host.pool] = true
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment