Oxidized update and Device remove (#13730)

* Oxidized + Device remove
Was just working on oxidized, but then to properly update nodes after delete, updated delete_device()

* revert dumb style changes

* baseline update and no DI there...

* Fix OS first load and device deletion missing tables
This commit is contained in:
Tony Murray
2022-01-29 21:09:05 -06:00
committed by GitHub
parent 29ff20d7eb
commit b6a8b602b8
19 changed files with 315 additions and 184 deletions

View File

@@ -122,13 +122,6 @@ $end = microtime(true);
$run = ($end - $start);
$proctime = substr($run, 0, 5);
if ($discovered_devices) {
if ($doing === 'new') {
// We have added a new device by this point so we might want to do some other work
oxidized_reload_nodes();
}
}
if (isset($new_discovery_lock)) {
$new_discovery_lock->release();
}