Use True and False rather than numerical values
This commit is contained in:
@@ -15,9 +15,9 @@ function Invoke-ZertoFailoverCommit {
|
|||||||
begin {
|
begin {
|
||||||
$baseUri = "vpgs"
|
$baseUri = "vpgs"
|
||||||
if ( $reverseProtect ) {
|
if ( $reverseProtect ) {
|
||||||
$body = @{"IsReverseProtect" = 1}
|
$body = @{"IsReverseProtect" = $true}
|
||||||
} else {
|
} else {
|
||||||
$body = @{"IsReverseProtect" = 0}
|
$body = @{"IsReverseProtect" = $false}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user