Skip to content

Commit

Permalink
modify group monitor bug
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Dec 20, 2017
1 parent e2c7dc3 commit 3b5ffd6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Expand Up @@ -364,7 +364,7 @@ void getHostConfig() {
// 上报版本和cpu数量
redisUtil.set(MonitorCacheConfig.cacheAgentVersion.concat(ip), VERSION);
redisUtil.set(MonitorCacheConfig.cacheAgentCpu.concat(ip), CommandUtil.getCpuNumber());
if (hosts.contains(result)) {
if (hosts != null && hosts.contains(result)) {
IS_DEFAULT = true;
}
}
Expand Down
2 changes: 2 additions & 0 deletions agent/src/main/java/com/asura/agent/entity/PushEntity.java
Expand Up @@ -243,4 +243,6 @@ public String getValue() {
public void setValue(String value) {
this.value = value;
}


}

0 comments on commit 3b5ffd6

Please sign in to comment.