Use True and False rather than numerical values

This commit is contained in:
Wes Carroll
2019-02-27 16:59:22 -05:00
parent 914bf36cde
commit f2597db4de
@@ -15,9 +15,9 @@ function Invoke-ZertoFailoverCommit {
begin {
$baseUri = "vpgs"
if ( $reverseProtect ) {
$body = @{"IsReverseProtect" = 1}
$body = @{"IsReverseProtect" = $true}
} else {
$body = @{"IsReverseProtect" = 0}
$body = @{"IsReverseProtect" = $false}
}
}