Merge pull request #437 from puppetlabs/MAINT-Fix-checkout-count-AGAIN

(MAINT) Fix checkout counter allocation
This commit is contained in:
Belén 2020-11-10 11:40:15 -08:00 committed by GitHub
commit 7dd1dc147a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -213,7 +213,7 @@ module Vmpooler
if vmname
account_for_starting_vm(vmpool, vmname)
vms << [vmpool, vmname, vmtemplate]
metrics.increment("checkout.success.#{vmtemplate}")
metrics.increment("checkout.success.#{vmpool}")
else
failed = true
metrics.increment("checkout.empty.#{requested}")