Merge pull request #9070 from sfc-gh-ajbeamon/fix-invalid-json-access
Fix incorrect JSON access of blob metadata partitions in REST KMS test
This commit is contained in:
commit
ac2a26d269
|
@ -494,7 +494,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());
|
||||
|
|
Loading…
Reference in New Issue