mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2026-01-11 21:50:05 +00:00
skipping the cdbmgmtprodby dts jobs
This commit is contained in:
@@ -43,6 +43,13 @@ export const getDataTransferJobs = async (
|
||||
dataTransferJobs = [...dataTransferJobs, ...(dataTransferFeeds?.value || [])];
|
||||
while (dataTransferFeeds?.nextLink) {
|
||||
try {
|
||||
if (dataTransferFeeds?.nextLink.includes("cdbmgmtprodby.documents.azure.com:450")) {
|
||||
console.warn(
|
||||
"Skipping fetching next page of data transfer jobs due to invalid nextLink:",
|
||||
dataTransferFeeds.nextLink,
|
||||
);
|
||||
break;
|
||||
}
|
||||
const nextResponse = await window.fetch(dataTransferFeeds.nextLink, {
|
||||
headers: {
|
||||
Authorization: userContext.authorizationToken,
|
||||
|
||||
Reference in New Issue
Block a user