diff --git a/lib/cli/repositoryutility.cpp b/lib/cli/repositoryutility.cpp index 53acd01fd..bcbaf1070 100644 --- a/lib/cli/repositoryutility.cpp +++ b/lib/cli/repositoryutility.cpp @@ -233,6 +233,7 @@ bool RepositoryUtility::AddObject(const std::vector& object_paths, const if (check_config) { try { ConfigObject::Ptr object = static_pointer_cast(utype->Instantiate()); + attrs->Set("type", utype->GetName()); Deserialize(object, attrs, false, FAConfig); object->SetName(name);