mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
parent
a1bd648d51
commit
6651d31481
@ -30,10 +30,10 @@ abstract class CommandTransport
|
||||
public static function getConfig()
|
||||
{
|
||||
if (! isset(self::$config)) {
|
||||
self::$config = Config::module('monitoring', 'instances');
|
||||
self::$config = Config::module('monitoring', 'commandtransports');
|
||||
if (self::$config->isEmpty()) {
|
||||
throw new ConfigurationError(
|
||||
'No instances have been configured in \'%s\'.',
|
||||
'No command transports have been configured in \'%s\'.',
|
||||
self::$config->getConfigFile()
|
||||
);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user