From 2c1490d8fb10388086059669db7eccbdbb13131b Mon Sep 17 00:00:00 2001 From: Han Xiao Date: Wed, 23 Oct 2019 09:47:33 +0800 Subject: [PATCH] fix(flow): remove magic string --- gnes/flow/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnes/flow/__init__.py b/gnes/flow/__init__.py index cc0958c6..36787463 100644 --- a/gnes/flow/__init__.py +++ b/gnes/flow/__init__.py @@ -416,7 +416,7 @@ def _get_client(self, bytes_gen: Iterator[bytes] = None, **kwargs): from ..cli.parser import set_client_cli_parser from ..client.cli import CLIClient - _, p_args, _ = self._get_parsed_args(self, 'CLIClient', set_client_cli_parser, kwargs) + _, p_args, _ = self._get_parsed_args(self, CLIClient.__name__, set_client_cli_parser, kwargs) p_args.grpc_port = self._service_nodes[self._frontend]['parsed_args'].grpc_port p_args.grpc_host = self._service_nodes[self._frontend]['parsed_args'].grpc_host c = CLIClient(p_args, start_at_init=False)