]> granicus.if.org Git - icinga2/commitdiff
Add namespace qualifier for some assert() calls
authorGunnar Beutner <gunnar.beutner@netways.de>
Fri, 12 Aug 2016 11:44:51 +0000 (13:44 +0200)
committerGunnar Beutner <gunnar.beutner@netways.de>
Fri, 12 Aug 2016 11:44:51 +0000 (13:44 +0200)
refs #12408

lib/db_ido/db_ido-itl.conf
lib/icinga/icinga-itl.conf
lib/methods/methods-itl.conf

index c693638059b6df33919c6329d1b223600b54f11c..78febcfffe96ca1adee10241604d2aec6b990c74 100644 (file)
@@ -17,7 +17,7 @@
  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.             *
  ******************************************************************************/
 
-assert(Internal.run_with_activation_context(function() {
+System.assert(Internal.run_with_activation_context(function() {
        var _Internal = Internal.clone()
 
        template CheckCommand "ido-check-command" {
index 75c3297e49c1062dbb7ca37974b418a7e121f65c..9c94dd06891ee6f7b8f4d54c0e2d25b5120f5302 100644 (file)
@@ -17,7 +17,7 @@
  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.             *
  ******************************************************************************/
 
-assert(Internal.run_with_activation_context(function() {
+System.assert(Internal.run_with_activation_context(function() {
        var _Internal = Internal.clone()
 
        template TimePeriod "legacy-timeperiod" use (_Internal) {
index 4432958e87006dbcd73c442af0989a116f1d90ed..1ec2eeaebefe3d02b4ff9f0a9ffc72ba5a9c57f7 100644 (file)
@@ -17,7 +17,7 @@
  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.             *
  ******************************************************************************/
 
-assert(Internal.run_with_activation_context(function() {
+System.assert(Internal.run_with_activation_context(function() {
        var _Internal = Internal.clone()
 
        template CheckCommand "icinga-check-command" use (_Internal) {