aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKanagaraj Manickam <kanagaraj.manickam@huawei.com>2022-04-04 03:48:33 +0000
committerGerrit Code Review <gerrit@onap.org>2022-04-04 03:48:33 +0000
commit67869780ab503d5bc6d7fd366f886b4877cca3b2 (patch)
tree63109d5efdce4bcdc40804f4ed00a5dc3ca17cc1
parentfddd9ed279c94271e9ab6292e9f75f969d715bcf (diff)
parent0500818f7eb78dc73f7d2f84a2c0e331070d78f7 (diff)
Merge "removed block of commented-out lines of code"
-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());
}