From f90ef4839eb10f5d45ad359a683de5d8fccd56c1 Mon Sep 17 00:00:00 2001 From: Brandon High Date: Thu, 5 Mar 2020 14:51:24 -0800 Subject: [PATCH] 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? --- lib/vmpooler/providers/vsphere.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/vmpooler/providers/vsphere.rb b/lib/vmpooler/providers/vsphere.rb index 2c9854a..256e55a 100644 --- a/lib/vmpooler/providers/vsphere.rb +++ b/lib/vmpooler/providers/vsphere.rb @@ -794,7 +794,6 @@ module Vmpooler end versions.each do |version| - targets = [] targets = select_least_used_hosts(architectures[version], percentage) architectures[version] = targets end