Skip to content

Commit

Permalink
Adapt #7786 to the new ConfigItem::CommitNewItems()
Browse files Browse the repository at this point in the history
  • Loading branch information
ymartin-ovh committed Oct 9, 2023
1 parent b1c7aeb commit aff19b9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/remote/apilistener-configsync.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -459,8 +459,7 @@ void ApiListener::SendRuntimeConfigObjects(const JsonRpcConnection::Ptr& aclient
bool unresolved_dep = false;

/* skip this type (for now) if there are unresolved load dependencies */
for (const String& loadDep : type->GetLoadDependencies()) {
Type::Ptr pLoadDep = Type::GetByName(loadDep);
for (auto pLoadDep : type->GetLoadDependencies()) {
if (types.find(pLoadDep) != types.end() && completed_types.find(pLoadDep) == completed_types.end()) {
unresolved_dep = true;
break;
Expand Down

0 comments on commit aff19b9

Please sign in to comment.