mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-29 16:54:06 +02:00
IcingaObject: Fix that object IcingaHostGroup cannot be found in classByType()
This commit is contained in:
parent
eec9710727
commit
e8c90ebb6b
@ -894,6 +894,11 @@ return '';
|
||||
$prefix = 'Director';
|
||||
}
|
||||
|
||||
if ($type === 'hostgroup') {
|
||||
// TODO: Provide a more sophisticated solution
|
||||
$type = 'hostGroup';
|
||||
}
|
||||
|
||||
return 'Icinga\\Module\\Director\\Objects\\' . $prefix . ucfirst($type);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user