ing
This commit is contained in:
		
							parent
							
								
									3e06d84cfe
								
							
						
					
					
						commit
						68153ce4ee
					
				@ -153,8 +153,7 @@ public class CentralInfraService implements InfraService {
 | 
			
		||||
    InfraHostIP eInfraHostIP = this.infraHostIPService.readByInfraHostInfraZoneIDAndMetaIPTypeKeyAndAddress(
 | 
			
		||||
        infraZone.getId(), infraHostIP.getMetaIPType().getKey(), host.getAddress());
 | 
			
		||||
    if (null != eInfraHostIP) {
 | 
			
		||||
      throw new OverflowException(String.format("IP[%s(%s)] of Zone[%s] is exist already", host.getAddress(),
 | 
			
		||||
          infraHostIP.getMetaIPType().getName(), infraZone.getNetwork()));
 | 
			
		||||
      return eInfraHostIP.getInfraHost();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    InfraHost infraHost = new InfraHost();
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user