Skip to content

Commit

Permalink
Adapt to changes in broker stderr handling (SatelliteQE#15442)
Browse files Browse the repository at this point in the history
  • Loading branch information
dosas authored Jun 25, 2024
1 parent 1d55dfd commit 08f5b26
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 @@ -248,7 +248,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 08f5b26

Please sign in to comment.