Skip to content

Commit

Permalink
Merge pull request #330 from mattkirby/pooler_140_1
Browse files Browse the repository at this point in the history
(POOLER-140) Fix typo in domain
  • Loading branch information
Spencer McElmurry authored Jul 17, 2019
2 parents 4aad84a + 7abfb97 commit 211c56d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ If you're looking for changes from before this, refer to the project's
git logs & PR history.
# [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)

### Added
Expand Down
2 changes: 1 addition & 1 deletion lib/vmpooler/api/v1.rb
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def fetch_single_vm(template)
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]
Expand Down

0 comments on commit 211c56d

Please sign in to comment.