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…
Reference in New Issue