Skip to content

Commit

Permalink
CP of Errata:UI updates, fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
damoore044 committed Mar 19, 2024
1 parent acfed70 commit cfb3246
Show file tree
Hide file tree
Showing 2 changed files with 520 additions and 149 deletions.
4 changes: 3 additions & 1 deletion robottelo/host_helpers/cli_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -634,8 +634,10 @@ def setup_org_for_a_custom_repo(self, options=None):
) from err
# Get the version id
cv_info = self._satellite.cli.ContentView.info({'id': cv_id})
lce_promoted = cv_info['lifecycle-environments']
assert len(cv_info['versions']) > 0
cv_info['versions'].sort(key=lambda version: version['id'])
cvv = cv_info['versions'][-1]
lce_promoted = cv_info['lifecycle-environments']
# Promote version to next env
try:
if env_id not in [int(lce['id']) for lce in lce_promoted]:
Expand Down
Loading

0 comments on commit cfb3246

Please sign in to comment.