Fix incorrect access of blob metadata partitions

This commit is contained in:
A.J. Beamon 2022-12-20 09:21:11 -08:00
parent e6b2254726
commit bbc082fd6d
1 changed files with 1 additions and 1 deletions

View File

@ -497,7 +497,7 @@ Standalone<VectorRef<BlobMetadataDetailsRef>> parseBlobMetadataResponse(Referenc
// just do extra memory copy for simplicity here
Standalone<VectorRef<StringRef>> partitions;
if (isPartitionsPresent) {
for (const auto& partition : doc[BLOB_METADATA_PARTITIONS_TAG].GetArray()) {
for (const auto& partition : detail[BLOB_METADATA_PARTITIONS_TAG].GetArray()) {
if (!partition.IsString()) {
TraceEvent("ParseBlobMetadataResponseFailurePartitionNotString", ctx->uid)
.detail("Type", partition.GetType());