Docker build improvement, fix findFTN(), fix address add for systems

This commit is contained in:
Deon George
2021-07-02 01:09:16 +10:00
parent 54bcdf4b13
commit 4522f26bf3
3 changed files with 3 additions and 1 deletions

View File

@@ -90,6 +90,7 @@ class SystemController extends Controller
// Check that a host doesnt already exist
->orWhere(function($query) use ($value) {
return $query->where('host_id',$value)
->where('node_id',0)
->where('point_id',0)
->where('role',DomainController::NODE_NC);
});