Skip to content

Commit 3c7bec2

Browse files
Create mutex names that are safe for Linux (fixes #15653) (#15666)
* Create mutex names that are usable in Linux * Add changelog for bug #15653 * Update ChangeLog.md Co-authored-by: Yabo Hu <yabhu@microsoft.com>
1 parent 4eeda23 commit 3c7bec2

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/Compute/Compute/ChangeLog.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
2121
-->
2222
## Upcoming Release
23-
* Added new parameters `-SshKeyName` and `-GenerateSshKey` to `New-AzVM` to create a VM with SSH Key
23+
* Added new parameters `-SshKeyName` and `-GenerateSshKey` to `New-AzVM` to create a VM with SSH
24+
* Fixed a bug in `Add-AzVHD` on Linux that caused uploads to fail for certain destination URI
2425

2526
## Version 4.16.0
2627
* Fixed the warning in `New-AzVM` cmdlet stating the sku of the VM is being defaulted even if a sku size is provided by the user. Now it only occurs when the user does not provide a sku size.

src/Compute/Compute/Sync/Upload/BlobCreatorBase.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ private static string GetMutexName(Uri destinationBlobUri)
320320
using (var md5 = MD5.Create())
321321
{
322322
byte[] hash = md5.ComputeHash(bytes);
323-
return Convert.ToBase64String(hash);
323+
return Convert.ToBase64String(hash).Replace('/', '_');
324324
}
325325
}
326326

@@ -399,4 +399,4 @@ private static List<string> CompareFileMetaData(FileMetaData blobFileMetaData, F
399399
return fileMetaDataMessages;
400400
}
401401
}
402-
}
402+
}

0 commit comments

Comments
 (0)