mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 10:08:40 -05:00
(POOLER-140) Fix typo in domain
This commit updates the reference to domain from vmpooler config. Without this change the domain value is read as an empty string and breaks checkouts.
This commit is contained in:
parent
d6e948d34d
commit
7abfb97ab5
2 changed files with 4 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ module Vmpooler
|
|||
vms = backend.smembers("vmpooler__ready__#{template_backend}")
|
||||
next if vms.empty?
|
||||
vms.reverse.each do |vm|
|
||||
ready = vm_ready?(vm, config[:domain])
|
||||
ready = vm_ready?(vm, config['domain'])
|
||||
if ready
|
||||
backend.smove("vmpooler__ready__#{template_backend}", "vmpooler__running__#{template_backend}", vm)
|
||||
return [vm, template_backend, template]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue