From ce597c19c2df8169449bd74376a5bf1082e75bb6 Mon Sep 17 00:00:00 2001 From: Oleg Mitsura Date: Wed, 10 Apr 2019 15:37:00 -0400 Subject: netconf-executor: RpcMessageUtilsTest improvement Issue-ID: CCSDK-1126 Change-Id: I245661bb6ca1afa6aece98c83a1758a7a6f93621 Signed-off-by: Oleg Mitsura --- .../functions/netconf/executor/utils/NetconfMessageUtils.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ms/blueprintsprocessor/functions/netconf-executor/src/main/kotlin') diff --git a/ms/blueprintsprocessor/functions/netconf-executor/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/netconf/executor/utils/NetconfMessageUtils.kt b/ms/blueprintsprocessor/functions/netconf-executor/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/netconf/executor/utils/NetconfMessageUtils.kt index 1ffc9a68c..bb5cdb0b5 100644 --- a/ms/blueprintsprocessor/functions/netconf-executor/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/netconf/executor/utils/NetconfMessageUtils.kt +++ b/ms/blueprintsprocessor/functions/netconf-executor/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/netconf/executor/utils/NetconfMessageUtils.kt @@ -396,7 +396,7 @@ class NetconfMessageUtils { fun checkReply(reply: String?): Boolean { return if (reply != null) { - !reply.contains("rpc-error>") || reply.contains("warning") || reply.contains("ok/>") + !reply.contains("rpc-error>") || reply.contains("ok/>") } else false } } -- cgit 1.2.3-korg