Skip to content

Commit

Permalink
Fixed easy client usage
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBurchLog authored Dec 26, 2023
1 parent a8f4a26 commit a79f799
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions brewtils/rest/system_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,10 +241,6 @@ def __init__(self, *args, **kwargs):
self._default_instance = brewtils.plugin.CONFIG.instance_name
self._system_namespace = brewtils.plugin.CONFIG.namespace or ""

self.local_request_handler = LocalRequestProcessor(
system=self._system,
easy_client=self._easy_client,
)
else:
self._system_name = kwargs.get("system_name")
self._version_constraint = kwargs.get("version_constraint", "latest")
Expand Down Expand Up @@ -281,6 +277,10 @@ def __init__(self, *args, **kwargs):

self._easy_client = EasyClient(*args, **kwargs)
self._resolver = ResolutionManager(easy_client=self._easy_client)
self.local_request_handler = LocalRequestProcessor(
system=self._system,
easy_client=self._easy_client,
)

def __getattr__(self, item):
# type: (str) -> partial
Expand Down

0 comments on commit a79f799

Please sign in to comment.