Authored by qinchao

修改bug

... ... @@ -326,6 +326,9 @@ public class Pch5SwitchCtrl {
List<HostInfo> ls=hostInfoService.getHostInfosByTagList(Arrays.asList(const_tags_for_nginx_node_az2.split(",")));
if(ls!=null){
for(HostInfo hostInfo:ls){
if(!newTags.endsWith(",")){
newTags += ",";
}
hostInfo.setTags(newTags);
hostInfoService.saveHostInfo(hostInfo);
}
... ...