mirror of
https://github.com/Icinga/icinga2.git
synced 2026-05-28 04:12:13 -04:00
parent
b4b627d6ac
commit
a805936f8f
1 changed files with 1 additions and 0 deletions
|
|
@ -233,6 +233,7 @@ bool RepositoryUtility::AddObject(const std::vector<String>& object_paths, const
|
|||
if (check_config) {
|
||||
try {
|
||||
ConfigObject::Ptr object = static_pointer_cast<ConfigObject>(utype->Instantiate());
|
||||
attrs->Set("type", utype->GetName());
|
||||
Deserialize(object, attrs, false, FAConfig);
|
||||
object->SetName(name);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue