aboutsummaryrefslogtreecommitdiffstats
path: root/grpc/grpc-client/src/main/java
diff options
context:
space:
mode:
authorjitendra007 <jitendra.sharma1@huawei.com>2020-08-21 14:41:45 +0530
committerjitendra007 <jitendra.sharma1@huawei.com>2020-08-21 14:50:34 +0530
commitb32486bd6b280d1f7349ccaa6f8bec92ad981ab0 (patch)
tree5edb5d084abe9731a3544a393972319e4c569d63 /grpc/grpc-client/src/main/java
parent29e3d400b200b0567caa6c5768d51ebc2ce2a891 (diff)
Upgraded grpc-netty for vulnerabilities and removed boilerplate code
Issue-ID: CLI-313 Signed-off-by: jitendra007 <jitendra.sharma1@huawei.com> Change-Id: I653328c56e49fcaef6dffa3cbd48d89f4a2eafb4
Diffstat (limited to 'grpc/grpc-client/src/main/java')
-rw-r--r--grpc/grpc-client/src/main/java/org/open/infc/grpc/client/OpenInterfaceGrpcClient.java2
1 files changed, 1 insertions, 1 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 d50f6143..13d2f97e 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
@@ -62,7 +62,7 @@ public class OpenInterfaceGrpcClient {
this(ManagedChannelBuilder.forAddress(host, port)
// Channels are secure by default (via SSL/TLS). For the example we disable TLS to avoid
// needing certificates.
- .usePlaintext(true)
+ .usePlaintext()
.build());
}