mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 10:08:40 -05:00
Merge pull request #437 from puppetlabs/MAINT-Fix-checkout-count-AGAIN
(MAINT) Fix checkout counter allocation
This commit is contained in:
commit
7dd1dc147a
1 changed files with 1 additions and 1 deletions
|
|
@ -213,7 +213,7 @@ module Vmpooler
|
||||||
if vmname
|
if vmname
|
||||||
account_for_starting_vm(vmpool, vmname)
|
account_for_starting_vm(vmpool, vmname)
|
||||||
vms << [vmpool, vmname, vmtemplate]
|
vms << [vmpool, vmname, vmtemplate]
|
||||||
metrics.increment("checkout.success.#{vmtemplate}")
|
metrics.increment("checkout.success.#{vmpool}")
|
||||||
else
|
else
|
||||||
failed = true
|
failed = true
|
||||||
metrics.increment("checkout.empty.#{requested}")
|
metrics.increment("checkout.empty.#{requested}")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue