Skip to content

Commit 40add9c

Browse files
committed
ValidateRange should specify max as 10
1 parent 8f93550 commit 40add9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ResourceManager/AzureBatch/Commands.Batch/Pools/GetBatchPoolNodeCountsCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public class GetBatchPoolNodeCountsCommand : BatchObjectModelCmdletBase
3737
[ValidateNotNullOrEmpty]
3838
public PSCloudPool Pool { get; set; }
3939

40-
[Parameter(ParameterSetName = Constants.ODataFilterParameterSet), ValidateRange(1, 100)]
40+
[Parameter(ParameterSetName = Constants.ODataFilterParameterSet), ValidateRange(1, defaultMaxCount)]
4141
public int MaxCount { get; set; } = defaultMaxCount;
4242

4343
public override void ExecuteCmdlet()

0 commit comments

Comments
 (0)