mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-23 10:51:24 -07:00
* bugfix: don't overwrite results in 'mismatched'
Whichever mismatched package is evaluated last is the value stored in the
'mismatched' key. Instead, it should have a subdict for each pkg that is mismatched
to keep in line with its documented usage.
* Update changelogs/fragments/4078-python_requirements_info.yaml
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 526369a243
)
Co-authored-by: Will Hegedus <will@wbhegedus.me>
This commit is contained in:
parent
c40a1e561a
commit
25778a8da4
2 changed files with 3 additions and 1 deletions
|
@ -153,7 +153,7 @@ def main():
|
|||
'desired': dep,
|
||||
}
|
||||
else:
|
||||
results['mismatched'] = {
|
||||
results['mismatched'][pkg] = {
|
||||
'installed': existing,
|
||||
'desired': dep,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue