From 23afc8582cc60be59a9d0da92e619c4e62e76e1c Mon Sep 17 00:00:00 2001 From: Gil Bregman Date: Thu, 11 Apr 2024 13:59:58 +0300 Subject: [PATCH] Fix typo in grpc.py Fixes #574 Signed-off-by: Gil Bregman --- control/grpc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/control/grpc.py b/control/grpc.py index a7c37a26..e6dfd1c6 100644 --- a/control/grpc.py +++ b/control/grpc.py @@ -1942,7 +1942,7 @@ def list_connections_safe(self, request, context): if resp: status = resp["code"] errmsg = f"Failure listing connections, can't get controllers: {resp['message']}" - return pb2.bconnections_info(status=status, error_message=errmsg, connections=[]) + return pb2.connections_info(status=status, error_message=errmsg, connections=[]) try: subsys_ret = rpc_nvmf.nvmf_get_subsystems(self.spdk_rpc_client, nqn=request.subsystem)