aboutsummaryrefslogtreecommitdiffstats
path: root/jar/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'jar/src/main')
-rwxr-xr-xjar/src/main/java/org/onap/music/main/MusicUtil.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/jar/src/main/java/org/onap/music/main/MusicUtil.java b/jar/src/main/java/org/onap/music/main/MusicUtil.java
index fe799c4b..f18570db 100755
--- a/jar/src/main/java/org/onap/music/main/MusicUtil.java
+++ b/jar/src/main/java/org/onap/music/main/MusicUtil.java
@@ -551,8 +551,8 @@ public class MusicUtil {
}
// get the property value and return it
MusicUtil.setMyCassaHost(prop.getProperty("cassandra.host"));
- String[] zkHost = prop.getProperty("zookeeper.host").split(",");
- MusicUtil.setMyZkHost(zkHost[0]);
+ String zkHosts = prop.getProperty("zookeeper.host");
+ MusicUtil.setMyZkHost(zkHosts);
MusicUtil.setCassName(prop.getProperty("cassandra.user"));
MusicUtil.setCassPwd(prop.getProperty("cassandra.password"));
}