Commit 2b951996 authored by tianxinyuan's avatar tianxinyuan

换行

parent 762400ae
......@@ -454,7 +454,7 @@ public class Manager {
}
nodeDto.setFaultCount((int) faultCount);
nodeDto.setKey(node.getCluster_name());
nodeDto.setDescription("服务异常数:"+errorCount+"/"+totalCount+"<br>"+errorIp);
nodeDto.setDescription("服务异常数:"+errorCount+"/"+totalCount+"\r\n"+errorIp);
nodeDto.setUrl(node.getServerPath());
nodeDto.setServerName(node.getCluster_name());
nodeDto.setText(node.getCluster_name());
......@@ -566,11 +566,11 @@ public class Manager {
// errorMap.put(hostInfo.getCluster_name()+"msg",errorMap.get(hostInfo.getCluster_name()+"msg")
// +"<div>"+hostInfo.getHost_ip()+"</div>");
errorMap.put(hostInfo.getCluster_name()+"msg",errorMap.get(hostInfo.getCluster_name()+"msg")
+hostInfo.getHost_ip()+"<br>");
+hostInfo.getHost_ip()+"\r\n");
}else{
// map中没有 就新建一个 默认值是1
// errorMap.put(hostInfo.getCluster_name()+"msg","<div>"+hostInfo.getHost_ip()+"</div>");
errorMap.put(hostInfo.getCluster_name()+"msg",hostInfo.getHost_ip()+"<br>");
errorMap.put(hostInfo.getCluster_name()+"msg",hostInfo.getHost_ip()+"\r\n");
}
}
......
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