Skip to content

Commit

Permalink
Cross-server system client check for valid config first
Browse files Browse the repository at this point in the history
  • Loading branch information
1maple1 committed Apr 22, 2024
1 parent 9a0fbb5 commit f404399
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion brewtils/rest/system_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ def _wait_for_request(self, request, raise_on_error, timeout):
raise RequestFailedError(request)

# Support cross-server parent/child requests. Add parent if request has different host.
if request.parent is None and (
if request.parent is None and brewtils.plugin.CONFIG and (
brewtils.plugin.CONFIG.bg_host.upper()
!= self._easy_client.client.bg_host.upper()
or brewtils.plugin.CONFIG.bg_port != self._easy_client.client.bg_port
Expand Down

0 comments on commit f404399

Please sign in to comment.