Correct Param to match API Spec

This commit is contained in:
Wes Carroll
2019-04-06 22:51:38 -04:00
parent 31db21c325
commit b5b873ac18
@@ -10,15 +10,15 @@ function Invoke-ZertoFailoverCommit {
[Parameter( [Parameter(
HelpMessage = "Use this switch to reverse protect the VPG(s) to the source site." HelpMessage = "Use this switch to reverse protect the VPG(s) to the source site."
)] )]
[switch]$reverseProtect [switch]$reverseProtection
) )
begin { begin {
$baseUri = "vpgs" $baseUri = "vpgs"
if ( $reverseProtect ) { if ( $reverseProtection ) {
$body = @{"IsReverseProtect" = $true} $body = @{"IsReverseProtection" = $true}
} else { } else {
$body = @{"IsReverseProtect" = $false} $body = @{"IsReverseProtection" = $false}
} }
} }