Authored by qinchao

修改bug

@@ -616,9 +616,9 @@ public class DockerProjectCtrl { @@ -616,9 +616,9 @@ public class DockerProjectCtrl {
616 rntMap.put("resultDescMap",statusMap); 616 rntMap.put("resultDescMap",statusMap);
617 if(allNormal){ 617 if(allNormal){
618 //获取实例的更新时间 618 //获取实例的更新时间
  619 + StringBuilder sb=new StringBuilder();
619 for(String clusterId:clusterIds.split(",")){ 620 for(String clusterId:clusterIds.split(",")){
620 List<List<String>> instLs=dockerServerDeployService.queryInstanceStatus(clusterId,namespace,serviceName); 621 List<List<String>> instLs=dockerServerDeployService.queryInstanceStatus(clusterId,namespace,serviceName);
621 - StringBuilder sb=new StringBuilder();  
622 if(!CollectionUtils.isEmpty(instLs)){ 622 if(!CollectionUtils.isEmpty(instLs)){
623 for(List<String> tmp:instLs){ 623 for(List<String> tmp:instLs){
624 if(sb.length()>0){ 624 if(sb.length()>0){
@@ -626,9 +626,10 @@ public class DockerProjectCtrl { @@ -626,9 +626,10 @@ public class DockerProjectCtrl {
626 } 626 }
627 sb.append(StringUtils.join(tmp,",")); 627 sb.append(StringUtils.join(tmp,","));
628 } 628 }
629 - rntMap.put("resultInstDesc",sb.toString()); 629 +
630 } 630 }
631 } 631 }
  632 + rntMap.put("resultInstDesc",sb.toString());
632 633
633 } 634 }
634 635