...
|
...
|
@@ -84,7 +84,7 @@ public class NignxCompare { |
|
|
|
|
|
List<String> cmdbIpList = new ArrayList<>();
|
|
|
|
|
|
for (HostInfo hostInfo : hostInfoService.getHostInfosByTag("nginx")) {
|
|
|
for (HostInfo hostInfo : hostInfoService.getHostInfosByTag("Nginx-JAVA")) {
|
|
|
//1 aws 2 qcloud
|
|
|
if (2 == hostInfo.getCloudType()) {
|
|
|
|
...
|
...
|
@@ -170,7 +170,7 @@ public class NignxCompare { |
|
|
|
|
|
List<String> cmdbIpList = new ArrayList<>();
|
|
|
|
|
|
for (HostInfo hostInfo : hostInfoService.getHostInfosByTag("nginx")) {
|
|
|
for (HostInfo hostInfo : hostInfoService.getHostInfosByTag("Nginx-JAVA")) {
|
|
|
//1 aws 2 qcloud
|
|
|
if (1 == hostInfo.getCloudType()) {
|
|
|
cmdbIpList.add(hostInfo.getHostIp());
|
...
|
...
|
|