Skip to content

Commit

Permalink
Small update to handle add. deployment operation
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderSehr committed Aug 8, 2024
1 parent 33b11d6 commit 289c773
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ function Get-DeploymentOperationAtScope {
} else {
$deploymentOperations = ($response.content | ConvertFrom-Json).value.properties
$deploymentOperationsFiltered = $deploymentOperations | Where-Object { $_.provisioningOperation -in $ProvisioningOperationsToInclude }
return $deploymentOperationsFiltered
return $deploymentOperationsFiltered ?? $true # Returning true to indicate that the deployment was found, but did not contain any relevant operations
}
}

Expand Down

0 comments on commit 289c773

Please sign in to comment.