Revision b41afe0c src/vmm_mad/remotes/lib/vcenter_driver/importer.rb

View differences:

src/vmm_mad/remotes/lib/vcenter_driver/importer.rb
64 64
            e["TEMPLATE/VCENTER_INSTANCE_ID"] == vc_uuid
65 65
        end.first
66 66
        
67
        raise "DS with ref #{ds_ref} is not imported in OpenNebula, aborting Wild VM import." if !ds_one
67
        return OpenNebula::Error.new("DS with ref #{ds_ref} is not imported in OpenNebula, aborting Wild VM import.") if !ds_one
68 68

  
69 69
        rc = one_vm.allocate(template)
70 70
        return rc if OpenNebula.is_error?(rc)

Also available in: Unified diff