From b58ae679c70c7b52ca35a98e06a51ed7d3e47643 Mon Sep 17 00:00:00 2001 From: mcabrerizo Date: Fri, 7 Oct 2016 18:39:57 +0200 Subject: [PATCH] B #4687: Uploading gzip files with no tar in vcenter DS should fail gracefully --- src/datastore_mad/remotes/vcenter/cp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/datastore_mad/remotes/vcenter/cp b/src/datastore_mad/remotes/vcenter/cp index cae36551ce..bad912f993 100755 --- a/src/datastore_mad/remotes/vcenter/cp +++ b/src/datastore_mad/remotes/vcenter/cp @@ -117,7 +117,7 @@ def vmdk_info(file) return { :type => :standalone, :file => file_path, - :dir => File.dirname(file_path), + :dir => File.dirname(file_path) } when "application/x-iso9660-image" return {