mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2025-12-21 07:10:15 -05:00
Fixes string build creation on old windows systems
This commit is contained in:
parent
61eacf6a2d
commit
7039cec560
3 changed files with 13 additions and 2 deletions
|
|
@ -7,6 +7,17 @@ documentation before upgrading to a new release.
|
|||
|
||||
Released closed milestones can be found on [GitHub](https://github.com/Icinga/icinga-powershell-framework/milestones?state=closed).
|
||||
|
||||
## 1.6.0 (pending)
|
||||
|
||||
[Issue and PRs](https://github.com/Icinga/icinga-powershell-framework/milestone/15?closed=1)
|
||||
|
||||
## 1.5.1 (pending)
|
||||
|
||||
[Issue and PRs](https://github.com/Icinga/icinga-powershell-framework/milestone/17?closed=1)
|
||||
### Bugfixes
|
||||
|
||||
* [#282](https://github.com/Icinga/icinga-powershell-framework/issues/282) Fixes issue on `System.Text.StringBuilder` which fails to initialize properly on some older Windows systems
|
||||
|
||||
## 1.5.0 (2021-06-02)
|
||||
|
||||
[Issue and PRs](https://github.com/Icinga/icinga-powershell-framework/milestone/13?closed=1)
|
||||
|
|
|
|||
|
|
@ -397,7 +397,7 @@ function Compare-IcingaPluginThresholds()
|
|||
}
|
||||
}
|
||||
|
||||
$PluginOutputMessage = [System.Text.StringBuilder]::New();
|
||||
$PluginOutputMessage = New-Object -TypeName 'System.Text.StringBuilder';
|
||||
|
||||
[string]$PluginCurrentValue = [string]::Format(
|
||||
'{0}',
|
||||
|
|
|
|||
|
|
@ -98,7 +98,7 @@ function New-IcingaCheckPackage()
|
|||
$UnknownChecks = '';
|
||||
$CriticalChecks = '';
|
||||
$WarningChecks = '';
|
||||
$CheckSummary = [System.Text.StringBuilder]::New();
|
||||
$CheckSummary = New-Object -TypeName 'System.Text.StringBuilder';
|
||||
[bool]$HasContent = $FALSE;
|
||||
|
||||
# Only apply this to the top parent package
|
||||
|
|
|
|||
Loading…
Reference in a new issue