aboutsummaryrefslogtreecommitdiffstats
path: root/grpc/grpc-server/src/main/java/org/open
diff options
context:
space:
mode:
authorpriyanka.akhade <priyanka.akhade@huawei.com>2020-07-17 23:47:09 +0530
committerpriyanka.akhade <priyanka.akhade@huawei.com>2020-07-17 23:49:11 +0530
commit124caf6d7e77a1e8253eccfa6b6971644ca01317 (patch)
treeda900fcb1b25d45ea83c235af67a286da95c2997 /grpc/grpc-server/src/main/java/org/open
parent9a08d687e48312beef47bce357d374ede2ce0dc7 (diff)
code improvements- incorporating comments
Signed-off-by: priyanka.akhade <priyanka.akhade@huawei.com> Issue-ID: CLI-270 Change-Id: I656eab21336ba224917ac5df022f59697330b132
Diffstat (limited to 'grpc/grpc-server/src/main/java/org/open')
-rw-r--r--grpc/grpc-server/src/main/java/org/open/infc/grpc/server/OpenInterfaceGrpcServer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/grpc/grpc-server/src/main/java/org/open/infc/grpc/server/OpenInterfaceGrpcServer.java b/grpc/grpc-server/src/main/java/org/open/infc/grpc/server/OpenInterfaceGrpcServer.java
index 14043f37..a7c0b175 100644
--- a/grpc/grpc-server/src/main/java/org/open/infc/grpc/server/OpenInterfaceGrpcServer.java
+++ b/grpc/grpc-server/src/main/java/org/open/infc/grpc/server/OpenInterfaceGrpcServer.java
@@ -214,7 +214,7 @@ public class OpenInterfaceGrpcServer {
}
//Start the execution
- if (!cmd.isRpc()&&req.getRequestId() != null && !req.getRequestId().isEmpty()&&!(cmd.getInfo().getProduct().equalsIgnoreCase("open-cli") &&
+ if (!cmd.isRpc()&&req.getRequestId() != null && !req.getRequestId().isEmpty() && !(cmd.getInfo().getProduct().equalsIgnoreCase("open-cli") &&
cmd.getName().equalsIgnoreCase("execution-list"))) {
String input = cmd.getArgsJson(true);
executionStoreContext = OnapCommandExecutionStore.getStore().storeExectutionStart(