Skip to content

Commit 6415fa7

Browse files
author
Ashraf Hamad
committed
Remove validation conditions for subjectbeginswith/subjectendswith
1 parent 8f20059 commit 6415fa7

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/ResourceManager/EventGrid/Commands.EventGrid/EventSubscription/UpdateAzureEventGridSubscription.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,6 @@ public class UpdateAzureEventGridSubscription : AzureEventGridCmdletBase
146146
Mandatory = false,
147147
HelpMessage = EventGridConstants.SubjectBeginsWithHelp,
148148
ParameterSetName = EventSubscriptionInputObjectParameterSet)]
149-
[ValidateNotNullOrEmpty]
150149
public string SubjectBeginsWith { get; set; }
151150

152151
[Parameter(
@@ -165,7 +164,6 @@ public class UpdateAzureEventGridSubscription : AzureEventGridCmdletBase
165164
Mandatory = false,
166165
HelpMessage = EventGridConstants.SubjectEndsWithHelp,
167166
ParameterSetName = EventSubscriptionInputObjectParameterSet)]
168-
[ValidateNotNullOrEmpty]
169167
public string SubjectEndsWith { get; set; }
170168

171169
[Parameter(

0 commit comments

Comments
 (0)