aboutsummaryrefslogtreecommitdiffstats
path: root/grpc
diff options
context:
space:
mode:
authorsharath reddy <bs.reddy@huawei.com>2022-04-01 13:39:26 +0530
committersharath reddy <bs.reddy@huawei.com>2022-04-01 13:40:02 +0530
commit0500818f7eb78dc73f7d2f84a2c0e331070d78f7 (patch)
tree282f2e7ec837f27513344021056f10d17c7f2131 /grpc
parent37e08a4d965751c570b125eda565abd3d6dfafbc (diff)
removed block of commented-out lines of code
Issue-ID: CLI-439 report: tested weather-report Signed-off-by: sharath reddy <bs.reddy@huawei.com> Change-Id: Ib5493afd9d9db3db3d5125a86695e3ee45b79aa9
Diffstat (limited to 'grpc')
-rw-r--r--grpc/grpc-client/src/main/java/org/open/infc/grpc/client/OpenInterfaceGrpcClient.java2
1 files changed, 0 insertions, 2 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 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());
}