Skip to content

Commit

Permalink
virtual directories are not created in AzureFileCopyV4 using blob pre…
Browse files Browse the repository at this point in the history
…fix (#13784)

* virtual directories are not created in AzureFileCopyV4 using blob prefix

* removed extra / from container
  • Loading branch information
AmrutaKawade authored Oct 27, 2020
1 parent ef8ef01 commit 0e9c3c6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions Tasks/AzureFileCopyV4/Utility.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ function Upload-FilesToAzureContainer

$blobPrefix = $blobPrefix.Trim()
$containerURL = [string]::Format("{0}/{1}/{2}", $blobStorageEndpoint.Trim("/"), $containerName, $blobPrefix).Trim("/")
$containerURL = $containerURL + "/"
$containerURL = $containerURL.Replace('$','`$')
$azCopyExeLocation = Join-Path -Path $azCopyLocation -ChildPath "AzCopy.exe"

Expand Down
4 changes: 2 additions & 2 deletions Tasks/AzureFileCopyV4/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"author": "Microsoft Corporation",
"version": {
"Major": 4,
"Minor": 175,
"Patch": 5
"Minor": 178,
"Patch": 0
},
"demands": [
"azureps"
Expand Down
4 changes: 2 additions & 2 deletions Tasks/AzureFileCopyV4/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"author": "Microsoft Corporation",
"version": {
"Major": 4,
"Minor": 175,
"Patch": 5
"Minor": 178,
"Patch": 0
},
"demands": [
"azureps"
Expand Down

0 comments on commit 0e9c3c6

Please sign in to comment.