Skip to content

Commit

Permalink
Fixes IfW service installation on certain Windows environment
Browse files Browse the repository at this point in the history
  • Loading branch information
LordHepipud committed Feb 3, 2025
1 parent 517c19e commit 8ed2c48
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions doc/100-General/10-Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,16 @@ 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.13.2 (2025-02-03)

[Issues and PRs](https://github.com/Icinga/icinga-powershell-framework/milestone/40)

* [#780](https://github.com/Icinga/icinga-powershell-framework/issues/780) Fixes Icinga for Windows service installation not working properly on certain Windows environments

### Bugfixes

* [#778](https://github.com/Icinga/icinga-powershell-framework/issues/778) Fixes test commands like `Test-IcingaForWindows` failing because of wrong assigned ServiceData information.

## 1.13.1 (2025-01-31)

[Issues and PRs](https://github.com/Icinga/icinga-powershell-framework/milestone/39)
Expand Down
2 changes: 1 addition & 1 deletion jobs/GetWindowsService.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Use-Icinga -Minimal;
try {
$SvcData = Get-IcingaServices "$ServiceName" -ErrorAction Stop;

if ($null -ne $SvcData) {
if ($null -ne $SvcData -And $SvcData.Count -ne 0) {
$ServiceConfig = $SvcData."$ServiceName".configuration;
$ServiceMeta = $SvcData."$ServiceName".metadata;
$ServiceData.Status = [string]$ServiceConfig.Status.value;
Expand Down

0 comments on commit 8ed2c48

Please sign in to comment.