removed block of commented-out lines of code 45/128245/1
authorsharath reddy <bs.reddy@huawei.com>
Fri, 1 Apr 2022 08:09:26 +0000 (13:39 +0530)
committersharath reddy <bs.reddy@huawei.com>
Fri, 1 Apr 2022 08:10:02 +0000 (13:40 +0530)
Issue-ID: CLI-439

report: tested weather-report

Signed-off-by: sharath reddy <bs.reddy@huawei.com>
Change-Id: Ib5493afd9d9db3db3d5125a86695e3ee45b79aa9

grpc/grpc-client/src/main/java/org/open/infc/grpc/client/OpenInterfaceGrpcClient.java

index 13d2f97..e3a81e5 100644 (file)
@@ -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());
         }