mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Correct variable name
This commit is contained in:
committed by
Matt Clay
parent
78fb3217d6
commit
1af6a85492
@@ -220,7 +220,7 @@ def package_status(m, pkgname, version, cache, state):
|
||||
# Only claim the package is upgradable if a candidate matches the version
|
||||
package_is_upgradable = False
|
||||
for candidate in avail_upgrades:
|
||||
if pkg.versions[candidate] > p.installed:
|
||||
if pkg.versions[candidate] > pkg.installed:
|
||||
package_is_upgradable = True
|
||||
break
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user