summaryrefslogtreecommitdiffstats
path: root/application/clicommands/Icinga2Command.php
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:21:36 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:21:36 +0000
commit9a9ff27e57ad3eb60909f0a4d0bd74755df52662 (patch)
tree38d91ef37d115b2baffd54f40c74aef7a724d7b6 /application/clicommands/Icinga2Command.php
parentReleasing progress-linux version 1.2.2-3~progress7.99u1. (diff)
downloadicingaweb2-module-graphite-9a9ff27e57ad3eb60909f0a4d0bd74755df52662.tar.xz
icingaweb2-module-graphite-9a9ff27e57ad3eb60909f0a4d0bd74755df52662.zip
Merging upstream version 1.2.4.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'application/clicommands/Icinga2Command.php')
-rw-r--r--application/clicommands/Icinga2Command.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/application/clicommands/Icinga2Command.php b/application/clicommands/Icinga2Command.php
index 816e063..e0e0ee4 100644
--- a/application/clicommands/Icinga2Command.php
+++ b/application/clicommands/Icinga2Command.php
@@ -138,6 +138,8 @@ EOT
}
}
+ assert(isset($service), '$service not initialized in the loop');
+
$monObj = $service
? [
"apply Service \"{$icinga2CfgObjPrefix}_{$checkCommand}\" {",