mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 01:58:41 -05:00
Merge pull request #197 from mattkirby/double_connect_open
Remove duplicate of metrics.connect.open
This commit is contained in:
commit
e4cd64e47e
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