Skip to content

Fix wua states to return all changes, failures, and supersedences#61710

Merged
Ch3LL merged 4 commits into
saltstack:masterfrom
twangboy:fix_61479
Mar 8, 2022
Merged

Fix wua states to return all changes, failures, and supersedences#61710
Ch3LL merged 4 commits into
saltstack:masterfrom
twangboy:fix_61479

Conversation

@twangboy
Copy link
Copy Markdown
Contributor

@twangboy twangboy commented Feb 23, 2022

What does this PR do?

Fixes an issue with the win_wua states that were only returning a single item changed or failed.

What issues does this PR fix or reference?

Fixes: #61479

Previous Behavior

It was only returning the last one added to the dictionary for changes or failures

New Behavior

Now it adds all items properly to the changes and failures entry
Also adds supersedence for updates that are superseded by an installed update.

Merge requirements satisfied?

[NOTICE] Bug fixes or features added to Salt require tests.

Commits signed with GPG?

Yes

@twangboy twangboy requested a review from a team as a code owner February 23, 2022 20:28
@twangboy twangboy requested review from MKLeb and removed request for a team February 23, 2022 20:28
@Ch3LL Ch3LL merged commit 35e6c23 into saltstack:master Mar 8, 2022
@twangboy twangboy deleted the fix_61479 branch March 23, 2023 15:33
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.

[BUG] win_wua.uptodate changes data is incorrect

2 participants