mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 01:58:41 -05:00
Remove duplicate of metrics.connect.open
This commit removes a duplicate increment of the metrics.connect.open count. Without this change two connections will be reported when one is made.
This commit is contained in:
parent
1bbd623609
commit
9eb6788148
1 changed files with 0 additions and 1 deletions
|
|
@ -15,7 +15,6 @@ module Vmpooler
|
||||||
def ensure_connected(connection, credentials)
|
def ensure_connected(connection, credentials)
|
||||||
connection.serviceInstance.CurrentTime
|
connection.serviceInstance.CurrentTime
|
||||||
rescue
|
rescue
|
||||||
$metrics.increment("connect.open")
|
|
||||||
connect_to_vsphere $credentials
|
connect_to_vsphere $credentials
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue