mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 10:08:40 -05:00
Remove unused find_customization method
This commit is contained in:
parent
4f64355241
commit
f9e2c30e29
1 changed files with 0 additions and 12 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue