Skip to content
Snippets Groups Projects
Commit 85c0ab8d authored by Nicolas Pope's avatar Nicolas Pope
Browse files

Temporary hack for multi-config objects

parent 6d800ccf
No related branches found
No related tags found
No related merge requests found
......@@ -189,7 +189,8 @@ void ftl::config::registerConfigurable(ftl::Configurable *cfg) {
}
auto ix = config_instance.find(*uri);
if (ix != config_instance.end()) {
LOG(FATAL) << "Attempting to create a duplicate object: " << *uri;
// FIXME HACK NOTE TODO SHOULD BE FATAL
LOG(ERROR) << "Attempting to create a duplicate object: " << *uri;
} else {
config_instance[*uri] = cfg;
LOG(INFO) << "Registering instance: " << *uri;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment