mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
parent
854f8ec918
commit
b3db2ee1f6
@ -132,7 +132,10 @@ bool ConfigObjectUtility::CreateObject(const Type::Ptr& type, const String& full
|
||||
|
||||
Dictionary::Ptr allAttrs = new Dictionary();
|
||||
attrs->CopyTo(allAttrs);
|
||||
nameParts->CopyTo(allAttrs);
|
||||
|
||||
if (nameParts)
|
||||
nameParts->CopyTo(allAttrs);
|
||||
|
||||
allAttrs->Remove("name");
|
||||
|
||||
ConfigWriter::Ptr cw = new ConfigWriter(path);
|
||||
|
Loading…
x
Reference in New Issue
Block a user