Skip to content

Commit

Permalink
fix rhui package collection
Browse files Browse the repository at this point in the history
  • Loading branch information
mhecko committed Jun 7, 2024
1 parent e4abe9e commit 496d59b
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 @@ -541,7 +541,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 496d59b

Please sign in to comment.