Skip to content

Commit

Permalink
Fix regression from cloned manifest failover (#12605)
Browse files Browse the repository at this point in the history
This PR adds a check to resolve a regression in `upload_manifest`
introduced by #12515.
  • Loading branch information
synkd authored Sep 14, 2023
1 parent dcce6f9 commit 8d516af
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions robottelo/host_helpers/satellite_mixins.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,9 @@ def upload_manifest(self, org_id, manifest=None, interface='API', timeout=None):
:returns: the manifest upload result
"""
if manifest.content is None:
manifest = clone()
if not isinstance(manifest, (bytes, io.BytesIO)):
if manifest.content is None:
manifest = clone()
if timeout is None:
# Set the timeout to 1500 seconds to align with the API timeout.
timeout = 1500000
Expand Down

0 comments on commit 8d516af

Please sign in to comment.