mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
GroupMembershipResolver: skip templates
Motivation: templates are not considered resolved objects
This commit is contained in:
parent
b9d06f3015
commit
3f4903b889
@ -388,6 +388,9 @@ abstract class GroupMembershipResolver
|
|||||||
}
|
}
|
||||||
|
|
||||||
foreach ($objects as $object) {
|
foreach ($objects as $object) {
|
||||||
|
if ($object->isTemplate()) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
// TODO: fix this last hard host dependency
|
// TODO: fix this last hard host dependency
|
||||||
$resolver = HostApplyMatches::prepare($object);
|
$resolver = HostApplyMatches::prepare($object);
|
||||||
foreach ($groups as $groupId => $filter) {
|
foreach ($groups as $groupId => $filter) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user