...
|
...
|
@@ -326,7 +326,7 @@ 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(",")){
|
|
|
if(newTags!=null&&newTags.length()>0&&!newTags.endsWith(",")){
|
|
|
newTags += ",";
|
|
|
}
|
|
|
hostInfo.setTags(newTags);
|
...
|
...
|
|