Commit 8562d87c authored by mathieu's avatar mathieu

Adding value for debugging

parent 04495f4a
......@@ -50,6 +50,8 @@ public class Service extends UBUBIController
JSONUtil.parse("version", BuildInfo.version())+","+
JSONUtil.parse("sbtVersion", BuildInfo.sbtVersion())+","+
JSONUtil.parse("scalaVersion", BuildInfo.scalaVersion())+","+
JSONUtil.parse("exportDir", util.Config.getConfig("exportDir"))+","+
JSONUtil.parse("sshHost", util.Config.getConfig("ssh.host"))+","+
JSONUtil.parse("sparkHost", util.Spark.getHost())+","+
JSONUtil.parse("sparkPort", util.Spark.getPort())+
"}" ;
......
......@@ -390,7 +390,7 @@ public class Spark extends UBUBIController {
String sshHost = util.Config.getConfig("ssh.host");
//if mysql server is local
if (sshHost == "") {
if ("".compareTo(sshHost) == 0) {
return path + Id.toString();
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment