Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[windows] Update Get-WindowsUpdateStates function #11397

Merged

Conversation

shamil-mubarakshin
Copy link
Contributor

Description

This PR updates the Get-WindowsUpdateStates function to skip the update failed event if the update has already been successfully installed

Related issue: #11253

Check list

  • Related issue / work item is attached
  • Tests are written (if applicable)
  • Documentation is updated (if applicable)
  • Changes are tested and related VM images are successfully generated

@@ -438,13 +438,15 @@ function Get-WindowsUpdateStates {
19 {
$state = "Installed"
$title = $event.Properties[0].Value

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@shamil-mubarakshin shamil-mubarakshin merged commit ee530b0 into actions:main Jan 20, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants