Skip to content

Commit

Permalink
fix rhui package collection
Browse files Browse the repository at this point in the history
  • Loading branch information
mhecko authored and Rezney committed Jun 7, 2024
1 parent 6f20f5e commit f645c52
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion repos/system_upgrade/common/libraries/rhui.py
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,8 @@ def get_all_known_rhui_pkgs_for_current_upg():
known_pkgs = set()
for setup_family in RHUI_SETUPS.values():
for setup in setup_family:
if setup.os_version not in upg_major_versions:
setup_major = str(setup.os_version[0])
if setup_major not in upg_major_versions:
continue
known_pkgs.update(setup.clients)
known_pkgs.add(setup.leapp_pkg)
Expand Down

0 comments on commit f645c52

Please sign in to comment.