mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix service template discovery (#12662)
This commit is contained in:
@@ -4,7 +4,7 @@ use App\Http\Controllers\ServiceTemplateController;
|
||||
use LibreNMS\Config;
|
||||
|
||||
if (Config::get('discover_services_templates')) {
|
||||
ServiceTemplateController::applyAll();
|
||||
(new ServiceTemplateController())->applyAll(); // FIXME applyAll() should not be on a controller
|
||||
}
|
||||
if (Config::get('discover_services')) {
|
||||
// FIXME: use /etc/services?
|
||||
|
Reference in New Issue
Block a user