Skip to content

Commit

Permalink
Minor code clean-up.
Browse files Browse the repository at this point in the history
  • Loading branch information
kundadebdatta committed Dec 8, 2023
1 parent 505ee41 commit 77bc01d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ private async Task<HttpResponseMessage> SendHttpHelperAsync(
headers: new Headers()
{
ActivityId = System.Diagnostics.Trace.CorrelationManager.ActivityId.ToString(),
SubStatusCode = resourceType == ResourceType.DatabaseAccount || resourceType == ResourceType.PartitionKeyRange
SubStatusCode = resourceType == ResourceType.PartitionKeyRange
? SubStatusCodes.PartitionKeyRangeGone
: SubStatusCodes.TransportGenerated503
},
Expand Down

0 comments on commit 77bc01d

Please sign in to comment.