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 Sep 12, 2023
1 parent 7955434 commit a27c6cf
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 a27c6cf

Please sign in to comment.