diff --git a/lib/vmpooler/vsphere_helper.rb b/lib/vmpooler/vsphere_helper.rb index 89a40c1..4e55583 100644 --- a/lib/vmpooler/vsphere_helper.rb +++ b/lib/vmpooler/vsphere_helper.rb @@ -15,7 +15,7 @@ module Vmpooler def ensure_connected(connection, credentials) connection.serviceInstance.CurrentTime rescue - connect_to_vsphere $credentials + connect_to_vsphere @credentials end def connect_to_vsphere(credentials)