Skip to content

Commit

Permalink
Resolving more comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Shivangi authored and Shivangi committed May 11, 2020
1 parent 1c5e27e commit dd20186
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Tasks/AzureFileCopyV4/AzureFileCopy.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ try {
if([string]::IsNullOrEmpty($containerName) -or ($destination -ne "AzureBlob"))
{
$containerName = [guid]::NewGuid().ToString()
Write-Verbose "Creating temporary container for uploading files if no input is provided for container name"
Write-Verbose "Container Name input not found. Creating Temporary container for uploading files."
Create-AzureContainer -containerName $containerName -storageContext $storageContext -isPremiumStorage $isPremiumStorage
}
else
Expand Down
2 changes: 1 addition & 1 deletion Tasks/AzureFileCopyV4/AzureFileCopyRemoteJob.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ $AzureFileCopyRemoteJob = {
#setting path at machine level so that when user again do copy on VM, there is no need to download the azcopy.exe again
[Environment]::SetEnvironmentVariable("Path", $azCopyFolderEnvPath + ';' + $env:Path, [System.EnvironmentVariableTarget]::Machine)

#setting $env:Path to include azcopy.exe path as the above command used to set path at machine level takes some time to update the path environment variable
#setting $env:Path at user level to include azcopy.exe path as the above command used do set the path at machine level and not at user level
$env:Path = $azCopyFolderEnvPath + ';' + $env:Path
}
catch
Expand Down

0 comments on commit dd20186

Please sign in to comment.