Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
PRMS
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhengfunan
PRMS
Commits
2b951996
Commit
2b951996
authored
Feb 05, 2021
by
tianxinyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
换行
parent
762400ae
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Manager.java
src/main/java/com/yingxin/prms/service/business/Manager.java
+3
-3
No files found.
src/main/java/com/yingxin/prms/service/business/Manager.java
View file @
2b951996
...
...
@@ -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
"
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment