Fix missing "}"
This commit is contained in:
@@ -14,6 +14,7 @@ function Invoke-ZertoRestRequest {
|
|||||||
if ( -not (Test-Path variable:script:zvmServer -and Test-Path variable:script:zvmPort) ) {
|
if ( -not (Test-Path variable:script:zvmServer -and Test-Path variable:script:zvmPort) ) {
|
||||||
Write-Error -Message "Zerto Connection does not Exist. Please run Connect-ZertoServer first to establish a connection"
|
Write-Error -Message "Zerto Connection does not Exist. Please run Connect-ZertoServer first to establish a connection"
|
||||||
break
|
break
|
||||||
|
}
|
||||||
if ( Test-Path variable:script:zvmHeaders ) {
|
if ( Test-Path variable:script:zvmHeaders ) {
|
||||||
$headers = $script:zvmHeaders
|
$headers = $script:zvmHeaders
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user