...
|
...
|
@@ -121,7 +121,7 @@ public class DockerMonitorTask { |
|
|
if(records!=null&&records.size()>0){
|
|
|
logger.info("DockerMonitorTask record is {} ", JSON.toJSONString(records));
|
|
|
for(DockerJenkinsRecord record:records){
|
|
|
if(model.getClusterId()!=null&&model.getClusterId().equals(record.getClusterId())
|
|
|
if(model.getClusterId()!=null&&record.getClusterId()!=null&&record.getClusterId().indexOf(model.getClusterId())>=0
|
|
|
&&model.getNamespace()!=null&&model.getNamespace().equals(record.getNamespace())
|
|
|
&&model.getServiceName()!=null&&model.getServiceName().equals(record.getDockerProjectName())){
|
|
|
alarmFlag=false;
|
...
|
...
|
|