Authored by qinchao

修改bug

... ... @@ -616,9 +616,9 @@ public class DockerProjectCtrl {
rntMap.put("resultDescMap",statusMap);
if(allNormal){
//获取实例的更新时间
StringBuilder sb=new StringBuilder();
for(String clusterId:clusterIds.split(",")){
List<List<String>> instLs=dockerServerDeployService.queryInstanceStatus(clusterId,namespace,serviceName);
StringBuilder sb=new StringBuilder();
if(!CollectionUtils.isEmpty(instLs)){
for(List<String> tmp:instLs){
if(sb.length()>0){
... ... @@ -626,9 +626,10 @@ public class DockerProjectCtrl {
}
sb.append(StringUtils.join(tmp,","));
}
rntMap.put("resultInstDesc",sb.toString());
}
}
rntMap.put("resultInstDesc",sb.toString());
}
... ...