Revision 8ff2e568 src/datastore_mad/remotes/vcenter/rm

View differences:

src/datastore_mad/remotes/vcenter/rm
79 79
                ds.delete_file(img_src)
80 80
            end
81 81

  
82
            vcenter_version = vi_client.vim.serviceContent.about.apiVersion
83
            ds.rm_directory(img_dir) if ds.dir_empty?(img_dir) && vcenter_version != "6.5"
82
            #vcenter_version = vi_client.vim.serviceContent.about.apiVersion
83
            ds.rm_directory(img_dir) if ds.dir_empty?(img_dir) #&& vcenter_version != "6.5"
84 84

  
85 85
        rescue Exception => e
86 86
            if !e.message.start_with?('FileNotFound')

Also available in: Unified diff