added return type
This commit is contained in:
parent
e3ad2b7876
commit
f0005d019a
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user