From 948a9b5ed9739ebf3a7c00f991609828c23f92a6 Mon Sep 17 00:00:00 2001 From: "Wei Wei (AZURE)" Date: Mon, 17 Apr 2023 10:53:14 +0800 Subject: [PATCH] [Storage] Allowed to clear blob tags --- src/Storage/Storage.Management/ChangeLog.md | 2 ++ src/Storage/Storage/Blob/Cmdlet/SetAzStorageBlobTag.cs | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Storage/Storage.Management/ChangeLog.md b/src/Storage/Storage.Management/ChangeLog.md index 718d56979f24..02e4ddf0c834 100644 --- a/src/Storage/Storage.Management/ChangeLog.md +++ b/src/Storage/Storage.Management/ChangeLog.md @@ -29,6 +29,8 @@ * Added warning messages for an upcoming cmdlet breaking change - `New-AzStorageAccount` - `Set-AzStorageAccount` +* Allowed to clear blob tags on a blob + - `Set-AzStorageBlobTag` * Updated Azure.Core to 1.31.0 ## Version 5.5.0 diff --git a/src/Storage/Storage/Blob/Cmdlet/SetAzStorageBlobTag.cs b/src/Storage/Storage/Blob/Cmdlet/SetAzStorageBlobTag.cs index 98b2442ee014..a7c8be99ae49 100644 --- a/src/Storage/Storage/Blob/Cmdlet/SetAzStorageBlobTag.cs +++ b/src/Storage/Storage/Blob/Cmdlet/SetAzStorageBlobTag.cs @@ -74,7 +74,7 @@ public string Container private string ContainerName = String.Empty; [Parameter(HelpMessage = "Blob Tags", Mandatory = true)] - [ValidateNotNullOrEmpty] + [ValidateNotNull] public Hashtable Tag { get