Change Journal limit variable types to uint64

This commit is contained in:
Wes Carroll
2019-03-12 12:02:46 -04:00
parent 833424461c
commit 7adebfd64b
3 changed files with 39 additions and 39 deletions
+3 -3
View File
@@ -136,12 +136,12 @@ function New-ZertoVpg {
HelpMessage = "Default journal hard limit in megabytes. Default set to 153600 MB (150 GB). Set to 0 to set the journal to unlimited",
Mandatory = $false
)]
[int]$journalHardLimitInMb = 153600,
[uint64]$journalHardLimitInMb = 153600,
[Parameter(
HelpMessage = "Default journal warning threshold in megabytes. If unset or greater than the hard limit, will be set to 75% of the journal hard limit.",
Mandatory = $false
)]
[int]$journalWarningThresholdInMb = 0
[uint64]$journalWarningThresholdInMb = 0
)
begin {
@@ -299,4 +299,4 @@ function New-ZertoVpg {
# Return vpgSettings Identifier as a string to pass into Save function.
return $vpgSettingsIdentifier.toString()
}
}
}