Revision ca2767c4

View differences:

src/vmm_mad/remotes/lib/vcenter_driver/virtual_machine.rb
341 341
            vcenter_vm_folder_object = dc.item.find_folder(vcenter_vm_folder)
342 342
        end
343 343

  
344
        vm_folder = vc_template.parent if vcenter_vm_folder_object.nil?
344
        vcenter_vm_folder_object = vc_template.parent if vcenter_vm_folder_object.nil?
345 345

  
346 346
        if ds.instance_of? RbVmomi::VIM::StoragePod
347 347
            # VM is cloned using Storage Resource Manager for StoragePods

Also available in: Unified diff