Skip to content

Commit

Permalink
[6.15.z] Adapt to changes in broker stderr handling (#15502)
Browse files Browse the repository at this point in the history
Co-authored-by: dosas <[email protected]>
  • Loading branch information
Satellite-QE and dosas authored Jun 25, 2024
1 parent 5f9d43d commit 9685bc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion robottelo/host_helpers/satellite_mixins.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ def available_capsule_port(self):
f"ss -tnaH sport ge {port_pool[0]} sport le {port_pool[-1]}"
" | awk '{n=split($4, p, \":\"); print p[n]}' | sort -u"
)
if ss_cmd.stderr[1]:
if ss_cmd.stderr:
raise CapsuleTunnelError(
f'Failed to create ssh tunnel: Error getting port status: {ss_cmd.stderr}'
)
Expand Down

0 comments on commit 9685bc3

Please sign in to comment.