mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 01:58:41 -05:00
(MAINT) Fix checkout counter allocation
Checkout metric counters were against the template name and not the actual pool used which prevents us from counting the checkouts in the pixa4 pools for example.
This commit is contained in:
parent
fd937b416d
commit
11bda0f31a
1 changed files with 1 additions and 1 deletions
|
|
@ -209,7 +209,7 @@ module Vmpooler
|
|||
break
|
||||
else
|
||||
vms << [vmpool, vmname, vmtemplate]
|
||||
metrics.increment("checkout.success.#{vmtemplate}")
|
||||
metrics.increment("checkout.success.#{vmpool}")
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue