Fix two botched variable references

This commit is contained in:
Rick Bradley 2016-05-20 14:22:00 -05:00
parent e323a7fb58
commit d3c5d3b9be

View file

@ -348,7 +348,7 @@ module Vmpooler
vms = []
jdata.each do |template, count|
val.to_i.times do |_i|
count.to_i.times do |_i|
vm = fetch_single_vm(template)
if !vm
failed = true
@ -366,7 +366,7 @@ module Vmpooler
else
vms.each do |(template, vm)|
account_for_starting_vm(template, vm)
update_result_hosts(results, template, vm)
update_result_hosts(result, template, vm)
end
result['ok'] = true