mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-27 02:18:41 -05:00
Fix two botched variable references
This commit is contained in:
parent
e323a7fb58
commit
d3c5d3b9be
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue