CommandTransport: Use commandtransports as config file name

refs #9651
This commit is contained in:
Johannes Meyer 2015-08-26 14:17:23 +02:00
parent a1bd648d51
commit 6651d31481
1 changed files with 2 additions and 2 deletions

View File

@ -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()
);
}