added return type

This commit is contained in:
snoop 2017-08-23 17:38:27 +09:00
parent e3ad2b7876
commit f0005d019a

View File

@ -45,7 +45,7 @@ public class TargetDiscoveryService {
private InfraServiceService infraServiceService;
@Transactional
public void saveAllTarget(List<Host> hosts, Probe probe) {
public boolean saveAllTarget(List<Host> hosts, Probe probe) {
InfraHost infraHost = null;
@ -56,7 +56,7 @@ public class TargetDiscoveryService {
this.createPort(infraHost, host, probe);
}
return true;
}
private void createService(InfraHost infraHost, Port port, Probe probe) {