Remove unused assignment

As far as I can tell, this variable doesn't exist before this assignment
and is immediately overwritten with the result of the method call so I
don't think it needs to be here?
This commit is contained in:
Brandon High 2020-03-05 14:51:24 -08:00
parent 0b841d63fd
commit f90ef4839e
No known key found for this signature in database
GPG key ID: 270079C784FCAFDE

View file

@ -794,7 +794,6 @@ module Vmpooler
end end
versions.each do |version| versions.each do |version|
targets = []
targets = select_least_used_hosts(architectures[version], percentage) targets = select_least_used_hosts(architectures[version], percentage)
architectures[version] = targets architectures[version] = targets
end end