describe did not list all the log sets

This commit is contained in:
Evan Tschannen 2018-06-10 12:38:50 -07:00
parent b9826dc1cb
commit 8a24bf6124
1 changed files with 2 additions and 2 deletions

View File

@ -105,9 +105,9 @@ struct TagPartitionedLogSystem : ILogSystem, ReferenceCounted<TagPartitionedLogS
virtual std::string describe() {
std::string result;
for( int i = 0; i < tLogs.size(); i++ ) {
result = format("%d: ", i);
result += format("%d: ", i);
for( int j = 0; j < tLogs[i]->logServers.size(); j++) {
result = result + tLogs[i]->logServers[j]->get().id().toString() + ((j == tLogs[i]->logServers.size() - 1) ? " " : ", ");
result += tLogs[i]->logServers[j]->get().id().toString() + ((j == tLogs[i]->logServers.size() - 1) ? " " : ", ");
}
}
return result;