Fix bug in getStorageWorkers

This commit is contained in:
sfc-gh-tclinkenbeard 2022-04-08 11:21:29 -07:00
parent 3fcaf4dda3
commit e3acbd1388
1 changed files with 2 additions and 1 deletions

View File

@ -312,8 +312,9 @@ getStorageWorkers(Database cx, Reference<AsyncVar<ServerDBInfo> const> dbInfo, b
.detail("Reason", "Could not find worker for storage server")
.detail("SS", server.id());
++failures;
} else {
workerInterfaces.push_back(itr->second);
}
workerInterfaces.push_back(itr->second);
}
}
return result;