Merge pull request #720 from Icinga:fix/json_validator_always_returns_true_on_unhandled_errors

Fix: JSON validator to always return False on unhandled errors

Fixes Icinga repository JSON validator to report the correct state of the validation status, in case the JSON is not valid
This commit is contained in:
Lord Hepipud 2024-04-12 19:08:58 +02:00 committed by GitHub
commit e1af4bb626
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 10 additions and 1 deletions

View file

@ -11,6 +11,15 @@ Released closed milestones can be found on [GitHub](https://github.com/Icinga/ic
[Issues and PRs](https://github.com/Icinga/icinga-powershell-framework/milestone/32)
## 1.12.3 (tbd)
[Issues and PRs](https://github.com/Icinga/icinga-powershell-framework/milestone/35)
### Bugfixes
* [#718](https://github.com/Icinga/icinga-powershell-framework/issues/718) Fixes Icinga repository JSON validator to report the correct state of the validation status, in case the JSON is not valid
## 1.12.2 (2024-04-10)
[Issues and PRs](https://github.com/Icinga/icinga-powershell-framework/milestone/34)

View file

@ -47,5 +47,5 @@ function Test-IcingaJSONObject()
}
}
return $TRUE;
return $FALSE;
}