Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query: Fixes ResponseMessage not parsing the IndexMetrics as text in latest sdk #4397

Merged
merged 6 commits into from
Apr 11, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fix response message not parsing the index advice as text in latest sdk
  • Loading branch information
Minh Le (from Dev Box) committed Apr 10, 2024
commit cf7de5613f5ba0df0683b96564868d52524dcaba
2 changes: 1 addition & 1 deletion Microsoft.Azure.Cosmos/src/Handler/ResponseMessage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ internal ResponseMessage(
this.CosmosException = cosmosException;
this.Headers = headers ?? new Headers();

this.IndexUtilizationText = ResponseMessage.DecodeIndexMetrics(this.Headers, isBase64Encoded: true);
this.IndexUtilizationText = ResponseMessage.DecodeIndexMetrics(this.Headers, isBase64Encoded: false);
leminh98 marked this conversation as resolved.
Show resolved Hide resolved
leminh98 marked this conversation as resolved.
Show resolved Hide resolved

if (requestMessage != null && requestMessage.Trace != null)
{
Expand Down
Loading