summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunil unnava <sunil.unnava@att.com>2018-10-24 19:49:49 -0400
committersunil unnava <sunil.unnava@att.com>2018-10-24 19:50:13 -0400
commit212e121a204de03a4ba23daaf5a3a1525dc10aab (patch)
tree00a6c102fdccad8b756ff81f9bf260b1a56fe59a
parent285ae8ce8d6a5a19cc5182992bb442de5591fe88 (diff)
update the package name
Issue-ID: DMAAP-858 Change-Id: Ibdd47834abc5790aba6bfda940db41c46cc53d9a Signed-off-by: sunil unnava <sunil.unnava@att.com>
-rw-r--r--src/main/java/org/onap/dmaap/dmf/mr/utils/Utils.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/onap/dmaap/dmf/mr/utils/Utils.java b/src/main/java/org/onap/dmaap/dmf/mr/utils/Utils.java
index f568d77..3048251 100644
--- a/src/main/java/org/onap/dmaap/dmf/mr/utils/Utils.java
+++ b/src/main/java/org/onap/dmaap/dmf/mr/utils/Utils.java
@@ -165,8 +165,8 @@ public class Utils {
public static boolean isCadiEnabled(){
boolean enableCadi=false;
- if(System.getenv("enableCadi")!=null){
- enableCadi=Boolean.getBoolean(System.getenv("enableCadi"));
+ if(System.getenv("enableCadi")!=null&&System.getenv("enableCadi").equals("true")){
+ enableCadi=true;
}
return enableCadi;