Merge pull request #197 from mattkirby/double_connect_open

Remove duplicate of metrics.connect.open
This commit is contained in:
Rob Braden 2017-03-07 16:14:22 -08:00 committed by GitHub
commit e4cd64e47e

View file

@ -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