mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 10:08:40 -05:00
(maint) Fix credentials in vsphere_helper
In commit 03ad7bfa46 the global variables for credentials was change to an
instance variable however one reference was missed. This commit fixes this
omission.
This commit is contained in:
parent
03ad7bfa46
commit
0e0e1c2fac
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue