Skip to content

Bug fix for "Write-Warning" error when resource no longer exists in a…#13

Open
DavidCook11 wants to merge 1 commit intocloudclarity-app:mainfrom
DavidCook11:main
Open

Bug fix for "Write-Warning" error when resource no longer exists in a…#13
DavidCook11 wants to merge 1 commit intocloudclarity-app:mainfrom
DavidCook11:main

Conversation

@DavidCook11
Copy link
Copy Markdown
Contributor

Bug fix for error resulting from a "Write-Warning" cmdlet that includes parameter flags that the cmdlet does not support. This section of the script is only reached when a resource type specified in an alert csv for monitoring no longer exists in azure and begins the process of deleting the alert rule which will follow the "Write-Warning" call. The fix removes these parameter flags for this call.

…zure and script throws warning before deleting alert rule
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant