mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2026-02-03 04:09:29 -05:00
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:
commit
e1af4bb626
2 changed files with 10 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -47,5 +47,5 @@ function Test-IcingaJSONObject()
|
|||
}
|
||||
}
|
||||
|
||||
return $TRUE;
|
||||
return $FALSE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue