Skip to content

Commit

Permalink
relax arch key used in repos
Browse files Browse the repository at this point in the history
  • Loading branch information
vsedmik authored Apr 2, 2024
1 parent 190fe77 commit c045da6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion robottelo/host_helpers/api_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def enable_sync_redhat_repo(self, rh_repo, org_id, timeout=1500):
"""Enable the RedHat repo, sync it and returns repo_id"""
# Enable RH repo and fetch repository_id
repo_id = self.enable_rhrepo_and_fetchid(
basearch=rh_repo['basearch'],
basearch=rh_repo.get('basearch', rh_repo.get('arch', DEFAULT_ARCHITECTURE)),
org_id=org_id,
product=rh_repo['product'],
repo=rh_repo['name'],
Expand Down

0 comments on commit c045da6

Please sign in to comment.