Skip to content

Commit

Permalink
Also modified remove_function instance to also use the cached remote …
Browse files Browse the repository at this point in the history
…client.
  • Loading branch information
Danidite committed Aug 20, 2024
1 parent 0dea2e6 commit f228e0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion caribou/endpoint/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ def _remove_function_instance(self, function_instance: str, provider_region: dic
identifier = function_instance
role_name = f"{identifier}-role"
messaging_topic_name = f"{identifier}_messaging_topic"
client = RemoteClientFactory.get_remote_client(provider, region)
client = self._get_remote_client(provider, region)

try:
if isinstance(client, AWSRemoteClient):
Expand Down

0 comments on commit f228e0e

Please sign in to comment.