IcingaDependency: fix for Array-style parent hosts

fixes #2088
This commit is contained in:
Thomas Gelf 2020-11-02 11:30:28 +01:00
parent 5b61b76076
commit db03208c5b
2 changed files with 5 additions and 2 deletions

View File

@ -32,6 +32,9 @@ next (will be 1.8.0)
* FEATURE: UTF8 validation for failed imports gives better error message (#2143)
* FIX: LDAP Import is now able to paginate limited results (#2019)
### Icinga Configuration
* FIX: Correctly render Service Dependencies with Array-style parent hosts (#2088)
### REST API
* FEATURE: Self Service API ignores empty/missing properties (e.g. no address)

View File

@ -211,8 +211,8 @@ class IcingaDependency extends IcingaObject implements ExportInterface
if ($this->parentHostIsVar()) {
return preg_replace(
'/\n$/m',
$this->renderAssignFilterExtension(),
parent::renderAssign_Filter() . "\n"
$this->renderAssignFilterExtension() . "\n",
parent::renderAssign_Filter()
);
} else {
return parent::renderAssign_Filter();