File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Microsoft.Azure.Cosmos/src/Handler Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -386,9 +386,12 @@ private bool AssertPartitioningPropertiesAndHeaders()
386386 bool partitionKeyRangeIdExists = ! string . IsNullOrEmpty ( this . Headers . PartitionKeyRangeId ) ;
387387 if ( partitionKeyRangeIdExists )
388388 {
389- OperationType op = this . OperationType ;
389+ OperationType operationType = this . OperationType ;
390390 // Assert operation type is not write
391- if ( op != OperationType . Query && op != OperationType . QueryPlan && op != OperationType . ReadFeed && op != OperationType . Batch )
391+ if ( operationType != OperationType . Query
392+ && operationType != OperationType . QueryPlan
393+ && operationType != OperationType . ReadFeed
394+ && operationType != OperationType . Batch )
392395 {
393396 throw new ArgumentOutOfRangeException ( RMResources . UnexpectedPartitionKeyRangeId ) ;
394397 }
You can’t perform that action at this time.
0 commit comments