From 0500818f7eb78dc73f7d2f84a2c0e331070d78f7 Mon Sep 17 00:00:00 2001 From: sharath reddy Date: Fri, 1 Apr 2022 13:39:26 +0530 Subject: removed block of commented-out lines of code Issue-ID: CLI-439 report: tested weather-report Signed-off-by: sharath reddy Change-Id: Ib5493afd9d9db3db3d5125a86695e3ee45b79aa9 --- .../main/java/org/open/infc/grpc/client/OpenInterfaceGrpcClient.java | 2 -- 1 file changed, 2 deletions(-) (limited to 'grpc') 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 13d2f97e..e3a81e50 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 @@ -88,7 +88,6 @@ public class OpenInterfaceGrpcClient { result = blockingStub.withDeadlineAfter(timeout, TimeUnit.MILLISECONDS).invoke(input); } catch (StatusRuntimeException e) { logger.warn("RPC failed: {}", e.getStatus()); - //Status{code=DEADLINE_EXCEEDED} throw new OpenInterfaceGrpcTimeoutExecption(e.getMessage()); } logger.info("Output: {}", result); @@ -103,7 +102,6 @@ public class OpenInterfaceGrpcClient { result = blockingStub.withDeadlineAfter(timeout, TimeUnit.MILLISECONDS).remoteCli(args); } catch (StatusRuntimeException e) { logger.warn("RPC failed: {}", e.getStatus()); - //Status{code=DEADLINE_EXCEEDED} throw new OpenInterfaceGrpcTimeoutExecption(e.getMessage()); } -- cgit 1.2.3-korg