fix compile error

This commit is contained in:
Evan Tschannen 2021-02-03 16:38:13 -08:00
parent c4b622e7b8
commit 89651e2461
1 changed files with 2 additions and 1 deletions

View File

@ -1805,7 +1805,8 @@ ACTOR static Future<JsonBuilderObject> workloadStatusFetcher(Reference<AsyncVar<
StatusCounter readBytes;
StatusCounter lowPriorityReads;
for(auto &ss : storageServers.get()) {
for(int i = 0; i < storageServers.get().size(); i++) {
auto& ss = storageServers.get()[i];
TraceEventFields const& storageMetrics = ss.second.at("StorageMetrics");
if (storageMetrics.size() > 0) {