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
|
|
@ -12,6 +12,9 @@ If you're looking for changes from before this, refer to the project's
|
||||||
git logs & PR history.
|
git logs & PR history.
|
||||||
# [Unreleased](https://github.com/puppetlabs/vmpooler/compare/0.6.1...master)
|
# [Unreleased](https://github.com/puppetlabs/vmpooler/compare/0.6.1...master)
|
||||||
|
|
||||||
|
### Added
|
||||||
|
- Validate a machine responds to vm\_ready? at checkout (POOLER-140)
|
||||||
|
|
||||||
# [0.6.1](https://github.com/puppetlabs/vmpooler/compare/0.6.0...0.6.1)
|
# [0.6.1](https://github.com/puppetlabs/vmpooler/compare/0.6.0...0.6.1)
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
|
||||||
|
|
@ -71,7 +71,7 @@ module Vmpooler
|
||||||
vms = backend.smembers("vmpooler__ready__#{template_backend}")
|
vms = backend.smembers("vmpooler__ready__#{template_backend}")
|
||||||
next if vms.empty?
|
next if vms.empty?
|
||||||
vms.reverse.each do |vm|
|
vms.reverse.each do |vm|
|
||||||
ready = vm_ready?(vm, config[:domain])
|
ready = vm_ready?(vm, config['domain'])
|
||||||
if ready
|
if ready
|
||||||
backend.smove("vmpooler__ready__#{template_backend}", "vmpooler__running__#{template_backend}", vm)
|
backend.smove("vmpooler__ready__#{template_backend}", "vmpooler__running__#{template_backend}", vm)
|
||||||
return [vm, template_backend, template]
|
return [vm, template_backend, template]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue