[icinga-checkins] icinga.org: icingaweb2-module-director/master: config/file: quickfix for check command links
git at icinga.org
git at icinga.org
Tue Aug 23 16:31:37 CEST 2016
Module: icingaweb2-module-director
Branch: master
Commit: 6f5feda5e0b99c5c018101a968421d5af9d4ba5e
URL: https://git.icinga.org/?p=icingaweb2-module-director.git;a=commit;h=6f5feda5e0b99c5c018101a968421d5af9d4ba5e
Author: Thomas Gelf <thomas at gelf.net>
Date: Tue Aug 23 14:22:06 2016 +0000
config/file: quickfix for check command links
---
application/views/scripts/config/file.phtml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/application/views/scripts/config/file.phtml b/application/views/scripts/config/file.phtml
index 8d21530..8055188 100644
--- a/application/views/scripts/config/file.phtml
+++ b/application/views/scripts/config/file.phtml
@@ -19,6 +19,9 @@ $linkObject = function ($match) use ($view, $decode) {
if ($match[2] === 'Service') {
return $match[0];
}
+ if ($match[2] === 'CheckCommand') {
+ $match[2] = 'command';
+ }
$name = $decode($match[3]);
return sprintf(
More information about the icinga-checkins
mailing list