Skip to content

Commit e7f1d33

Browse files
authored
Fix logic error
1 parent ac4c7cf commit e7f1d33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/update-manager/tutorial-webhooks-using-runbooks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ In this tutorial, you learn how to:
5353
$notificationPayload = ConvertFrom-Json -InputObject $WebhookData.RequestBody
5454
$eventType = $notificationPayload[0].eventType
5555
56-
if ($eventType -ne Microsoft.Maintenance.PreMaintenanceEvent” -or $eventType –ne Microsoft.Maintenance.PostMaintenanceEvent ) {
56+
if ($eventType -ne "Microsoft.Maintenance.PreMaintenanceEvent" -and $eventType –ne "Microsoft.Maintenance.PostMaintenanceEvent" ) {
5757
Write-Output "Webhook not triggered as part of pre or post patching for maintenance run"
5858
return
5959
}

0 commit comments

Comments
 (0)