From 0e0e1c2fac1fa81d0a291a68e1bf3ba65bbb4fe2 Mon Sep 17 00:00:00 2001 From: Glenn Sarti Date: Wed, 8 Mar 2017 16:11:07 -0800 Subject: [PATCH] (maint) Fix credentials in vsphere_helper In commit 03ad7bfa468 the global variables for credentials was change to an instance variable however one reference was missed. This commit fixes this omission. --- lib/vmpooler/vsphere_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)