Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions doc/31-Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Released closed milestones can be found on [GitHub](https://github.com/Icinga/ic

* [#127](https://github.com/Icinga/icinga-powershell-framework/issues/127) Fixes wrong error message on failed MSSQL connection due to database not reachable by using `-IntegratedSecurity`
* [#128](https://github.com/Icinga/icinga-powershell-framework/issues/128) Fixes unhandled output from loading `System.Reflection.Assembly` which can cause weird side effects for plugin outputs
* [#130](https://github.com/Icinga/icinga-powershell-framework/issues/130) Fix crash while running services as background task to collect metrics over time by missing Performance Counter cache initialisation

## 1.2.0 (2020-08-28)

Expand Down
2 changes: 1 addition & 1 deletion icinga-powershell-framework.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ 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
Expand All @@ -57,6 +56,7 @@ function Use-Icinga()
$global:IcingaDaemonData.FrameworkRunningAsDaemon = $Daemon;
}
}
New-IcingaPerformanceCounterCache;

# Enable DebugMode in case it is enabled in our config
if (Get-IcingaFrameworkDebugMode) {
Expand Down