From 28321f81b68d53283324b4a579252ddce6aa75eb Mon Sep 17 00:00:00 2001 From: Christian Stein Date: Fri, 7 Aug 2020 15:18:45 +0200 Subject: [PATCH] Adds missing Performance Counter cache initialising Implements #96 --- icinga-powershell-framework.psm1 | 1 + 1 file changed, 1 insertion(+) diff --git a/icinga-powershell-framework.psm1 b/icinga-powershell-framework.psm1 index d90d40b8..6cb380fa 100644 --- a/icinga-powershell-framework.psm1 +++ b/icinga-powershell-framework.psm1 @@ -43,6 +43,7 @@ function Use-Icinga() 'DebugMode' = $DebugMode; } ); + New-IcingaPerformanceCounterCache; } else { # This will fix the debug mode in case we are only using Libs # without any other variable content and daemon handling