Merge pull request #200 from glennsarti/fix-vsphere-credential

(maint) Fix credentials in vsphere_helper
This commit is contained in:
mattkirby 2017-03-14 11:10:33 -07:00 committed by GitHub
commit 42b7d2d222

View file

@ -15,7 +15,7 @@ module Vmpooler
def ensure_connected(connection, credentials) def ensure_connected(connection, credentials)
connection.serviceInstance.CurrentTime connection.serviceInstance.CurrentTime
rescue rescue
connect_to_vsphere $credentials connect_to_vsphere @credentials
end end
def connect_to_vsphere(credentials) def connect_to_vsphere(credentials)