mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
IcingaObject: add TODO for unhandled situation
This commit is contained in:
parent
0f9f172ebb
commit
91b486cc66
@ -188,6 +188,7 @@ abstract class IcingaObject extends DbObject implements IcingaConfigRenderer
|
|||||||
if (in_array($object->object_type, array('object', 'external_object'))) {
|
if (in_array($object->object_type, array('object', 'external_object'))) {
|
||||||
return parent::set($key . '_id', $object->id);
|
return parent::set($key . '_id', $object->id);
|
||||||
}
|
}
|
||||||
|
// TODO: what shall we do if it is a template? Fail?
|
||||||
}
|
}
|
||||||
|
|
||||||
return parent::set($key, $value);
|
return parent::set($key, $value);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user