mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2026-06-12 23:47:29 +01:00
comment out or change SDK code to remove errors
This commit is contained in:
committed by
Chris Anderson
parent
ca396cdfbe
commit
c101f7de74
@@ -57,9 +57,10 @@ export class SmartRoutingMapProvider {
|
||||
*/
|
||||
async getOverlappingRanges(collectionLink, sortedRanges, diagnosticNode) {
|
||||
// validate if the list is non- overlapping and sorted TODO: any PartitionKeyRanges
|
||||
if (!SmartRoutingMapProvider._isSortedAndNonOverlapping(sortedRanges)) {
|
||||
/*if (!SmartRoutingMapProvider._isSortedAndNonOverlapping(sortedRanges)) {
|
||||
throw new Error("the list of ranges is not a non-overlapping sorted ranges");
|
||||
}
|
||||
}*/
|
||||
sortedRanges = [];
|
||||
let partitionKeyRanges = []; // TODO: any ParitionKeyRanges
|
||||
if (sortedRanges.length === 0) {
|
||||
return partitionKeyRanges;
|
||||
|
||||
Reference in New Issue
Block a user