ing
This commit is contained in:
parent
0b21cff78b
commit
7a5cdd6bbc
|
@ -307,6 +307,7 @@ public class CentralInfraService implements InfraService {
|
|||
infraHost.setProbe(new Probe(probeID));
|
||||
infraHost.setInfraZone(new InfraZone(infraZoneID));
|
||||
infraHost.setMetaInfraType(MetaInfraType.Enum.HOST.to());
|
||||
infraHost.setMetaTargetHostType(MetaTargetHostType.Enum.UNKNOWN.to());
|
||||
|
||||
infraHost = this.infraHostDAO.save(infraHost);
|
||||
|
||||
|
@ -325,9 +326,6 @@ public class CentralInfraService implements InfraService {
|
|||
|
||||
infraHostOS.setInfraHost(infraHost);
|
||||
this.infraHostOSService.regist(infraHostOS);
|
||||
} else {
|
||||
infraHost.setMetaTargetHostType(MetaTargetHostType.Enum.UNKNOWN.to());
|
||||
infraHost = this.infraHostDAO.save(infraHost);
|
||||
}
|
||||
|
||||
if (null != oriInfraHost.getInfraHostIPs()) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user