From 6651d314819004f9bdc58f6d1f4edc44c75aa167 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Wed, 26 Aug 2015 14:17:23 +0200 Subject: [PATCH] CommandTransport: Use commandtransports as config file name refs #9651 --- .../library/Monitoring/Command/Transport/CommandTransport.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/monitoring/library/Monitoring/Command/Transport/CommandTransport.php b/modules/monitoring/library/Monitoring/Command/Transport/CommandTransport.php index f39b0b4c3..73f66da02 100644 --- a/modules/monitoring/library/Monitoring/Command/Transport/CommandTransport.php +++ b/modules/monitoring/library/Monitoring/Command/Transport/CommandTransport.php @@ -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() ); }