Skip to content

Commit

Permalink
Refs #34878 - don't enable RH repos when custom repo mentioned
Browse files Browse the repository at this point in the history
(cherry picked from commit 4ba3e46)
  • Loading branch information
upadhyeammit committed Sep 6, 2022
1 parent 6bc98b4 commit 9f5dc8d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion definitions/scenarios/self_upgrade.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,11 @@ def use_rhsm?
end

def req_repos_to_update_pkgs
main_rh_repos + [maintenance_repo_id(target_version)]
if use_rhsm?
main_rh_repos + [maintenance_repo_id(target_version)]
else
[maintenance_repo_id(target_version)]
end
end
end

Expand Down

0 comments on commit 9f5dc8d

Please sign in to comment.