From f9e2c30e29330c8688788c9396a864a2fcdd4f65 Mon Sep 17 00:00:00 2001 From: Scott Schneider Date: Thu, 21 Nov 2013 14:44:15 -0800 Subject: [PATCH] Remove unused find_customization method --- lib/vsphere_helper.rb | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/lib/vsphere_helper.rb b/lib/vsphere_helper.rb index bdaeac5..1edb69f 100755 --- a/lib/vsphere_helper.rb +++ b/lib/vsphere_helper.rb @@ -20,18 +20,6 @@ class VsphereHelper :insecure => true end - def find_customization name - csm = @connection.serviceContent.customizationSpecManager - - begin - customizationSpec = csm.GetCustomizationSpec({:name => name}).spec - rescue - customizationSpec = nil - end - - return customizationSpec - end - # an easier wrapper around the horrid PropertyCollector interface, # necessary for searching VMs in all Datacenters that may be nested # within folders of arbitrary depth