MonitoringBackend: use correct config object
This commit is contained in:
parent
bb0e1dc105
commit
8f124051e3
|
@ -86,7 +86,7 @@ class Backend implements Selectable, Queryable, ConnectionInterface
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
foreach ($config as $name => $backendConfig) {
|
foreach ($config as $name => $backendConfig) {
|
||||||
if ((bool) $config->get('disabled', false) === false) {
|
if ((bool) $backendConfig->get('disabled', false) === false) {
|
||||||
$backendName = $name;
|
$backendName = $name;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue