Fix - Seperate default poller id and distributed poller groups (#11584)

* Seperate Setting for default poller id

* revert change

* Travis restart

* fixes
This commit is contained in:
SourceDoctor
2020-05-25 00:55:11 +02:00
committed by GitHub
parent 4bb064c7ad
commit f92caf8cf7
7 changed files with 11 additions and 6 deletions

View File

@@ -42,7 +42,7 @@ class PollerGroup extends Model
static::deleting(function (PollerGroup $pollergroup) {
// handle device pollergroup fallback to default poller
$default_poller_id = \LibreNMS\Config::get('distributed_poller_group');
$default_poller_id = \LibreNMS\Config::get('default_poller_group');
$pollergroup->devices()->update(['poller_group' => $default_poller_id]);
});
}