From 799f35d266abf63afdbc462e301bd120b31fa7f4 Mon Sep 17 00:00:00 2001 From: Christopher Collins Date: Wed, 23 Aug 2023 16:49:01 -0700 Subject: [PATCH] Changed endpoint details list RPC to type cast Changed request_endpoint_details_list to an async call. --- opflexagent/rpc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/opflexagent/rpc.py b/opflexagent/rpc.py index 77ed32ae..5f214810 100644 --- a/opflexagent/rpc.py +++ b/opflexagent/rpc.py @@ -135,8 +135,8 @@ def request_endpoint_details_list(self, context, agent_id, requests=None, host=None): # Requests is a list of tuples with the device_id as first element, # and the request ID as second element - cctxt = self.client.prepare(version=self.GBP_RPC_VERSION) - cctxt.call(context, 'request_endpoint_details_list', + cctxt = self.client.prepare(version=self.GBP_RPC_VERSION, fanout=False) + cctxt.cast(context, 'request_endpoint_details_list', agent_id=agent_id, requests=requests, host=host) @log.log_method_call