Skip to content

Commit

Permalink
Remove check for rhsc7 from code
Browse files Browse the repository at this point in the history
  • Loading branch information
shweta83 committed Jan 28, 2025
1 parent 1384579 commit 81b6806
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion robottelo/hosts.py
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ def enable_repo(self, repo, force=False):
downstream_repo = settings.repos.sattools_repo['rhel7']
elif repo == constants.REPOS['rhst8']['id']:
downstream_repo = settings.repos.sattools_repo['rhel8']
elif repo in (constants.REPOS['rhsc7']['id'], constants.REPOS['rhsc8']['id']):
elif repo in (constants.REPOS['rhsc8']['id'], constants.REPOS['rhsc9']['id']):
downstream_repo = settings.repos.capsule_repo
if force or settings.robottelo.cdn or not downstream_repo:
return self.execute(f'subscription-manager repos --enable {repo}')
Expand Down

0 comments on commit 81b6806

Please sign in to comment.