diff options
Diffstat (limited to 'grpc/grpc-client/src/main/java')
-rw-r--r-- | grpc/grpc-client/src/main/java/org/open/infc/grpc/client/OpenInterfaceGrpcClient.java | 2 | ||||
-rw-r--r-- | grpc/grpc-client/src/main/java/org/open/infc/grpc/client/OpenRemoteCli.java | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/grpc/grpc-client/src/main/java/org/open/infc/grpc/client/OpenInterfaceGrpcClient.java b/grpc/grpc-client/src/main/java/org/open/infc/grpc/client/OpenInterfaceGrpcClient.java index fc007a01..d50f6143 100644 --- a/grpc/grpc-client/src/main/java/org/open/infc/grpc/client/OpenInterfaceGrpcClient.java +++ b/grpc/grpc-client/src/main/java/org/open/infc/grpc/client/OpenInterfaceGrpcClient.java @@ -96,7 +96,7 @@ public class OpenInterfaceGrpcClient { } public Result remoteCli(Args args) throws OpenInterfaceGrpcTimeoutExecption { - logger.info(args.toString()); + logger.info("{}", args); Result result = Result.newBuilder().setExitCode(1).build(); try { diff --git a/grpc/grpc-client/src/main/java/org/open/infc/grpc/client/OpenRemoteCli.java b/grpc/grpc-client/src/main/java/org/open/infc/grpc/client/OpenRemoteCli.java index 1875a761..4f9e9cfd 100644 --- a/grpc/grpc-client/src/main/java/org/open/infc/grpc/client/OpenRemoteCli.java +++ b/grpc/grpc-client/src/main/java/org/open/infc/grpc/client/OpenRemoteCli.java @@ -40,7 +40,7 @@ public class OpenRemoteCli { } - public Result run (List <String> args) throws Exception { + public Result run (List <String> args) throws Exception { //NOSONAR OpenInterfaceGrpcClient client = new OpenInterfaceGrpcClient( host, port, timeout); try { @@ -50,7 +50,7 @@ public class OpenRemoteCli { } } - public Output invoke (String product, String profile, String action, Map <String, String> params) throws Exception { + public Output invoke (String product, String profile, String action, Map <String, String> params) throws Exception { //NOSONAR OpenInterfaceGrpcClient client = new OpenInterfaceGrpcClient( host, port, timeout); try { @@ -79,7 +79,7 @@ public class OpenRemoteCli { * @return * @throws Exception */ - public static Result run (String host, int port, String reqId, List <String> args) throws Exception { + public static Result run (String host, int port, String reqId, List <String> args) throws Exception { //NOSONAR OpenInterfaceGrpcClient client = new OpenInterfaceGrpcClient( host, port); @@ -101,7 +101,7 @@ public class OpenRemoteCli { * @return * @throws Exception */ - public static Output invoke (String host, int port, String product, String profile, String action, String reqId, Map <String, String> params) throws Exception { + public static Output invoke (String host, int port, String product, String profile, String action, String reqId, Map <String, String> params) throws Exception { //NOSONAR OpenInterfaceGrpcClient client = new OpenInterfaceGrpcClient( host, port); |