Skip to content

Commit

Permalink
Add max value to DeleteAfter of 168 hours (Azure#20242)
Browse files Browse the repository at this point in the history
Co-authored-by: Ben Broderick Phillips <[email protected]>
  • Loading branch information
azure-sdk and benbp authored Feb 9, 2022
1 parent 5593f6b commit 5864d04
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion eng/common/TestResources/New-TestResources.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ param (
[string] $ProvisionerApplicationSecret,

[Parameter()]
[ValidateRange(1, [int]::MaxValue)]
[ValidateRange(1, 7*24)]
[int] $DeleteAfterHours = 120,

[Parameter()]
Expand Down
2 changes: 1 addition & 1 deletion eng/common/TestResources/Update-TestResources.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ param (
[string] $SubscriptionId,

[Parameter()]
[ValidateRange(1, [int]::MaxValue)]
[ValidateRange(1, 7*24)]
[int] $DeleteAfterHours = 48
)

Expand Down

0 comments on commit 5864d04

Please sign in to comment.