We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd3ce3a commit 46cb4b6Copy full SHA for 46cb4b6
Microsoft.Azure.Cosmos/src/Handler/RequestInvokerHandler.cs
@@ -81,7 +81,7 @@ public override async Task<ResponseMessage> SendAsync(
81
82
AvailabilityStrategy strategy = this.AvailabilityStrategy(request);
83
84
- if ((bool)(strategy?.Enabled()))
+ if (strategy != null && strategy.Enabled())
85
{
86
return await strategy.ExecuteAvailabilityStrategyAsync(
87
this.BaseSendAsync,
0 commit comments