Skip to content

Commit ec0c4aa

Browse files
author
testaccount67
committed
Fix Remove-AzureResourceLock -add default parameter
1 parent e2a51a8 commit ec0c4aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/Lock/RemoveAzureResourceLockCmdlet.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation
2020
/// <summary>
2121
/// The remove azure resource lock cmdlet.
2222
/// </summary>
23-
[Cmdlet(VerbsCommon.Remove, "AzureRmResourceLock", SupportsShouldProcess = true), OutputType(typeof(PSObject))]
23+
[Cmdlet(VerbsCommon.Remove, "AzureRmResourceLock", SupportsShouldProcess = true, DefaultParameterSetName = ResourceLockManagementCmdletBase.LockIdParameterSet), OutputType(typeof(PSObject))]
2424
public class RemoveAzureResourceLockCmdlet : ResourceLockManagementCmdletBase
2525
{
2626
/// <summary>

0 commit comments

Comments
 (0)