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 3ec7255 commit 1fe10c2Copy full SHA for 1fe10c2
src/tools/atlas/read/listClusters.ts
@@ -84,6 +84,7 @@ ${rows}`,
84
clusters?: PaginatedClusterDescription20240805,
85
flexClusters?: PaginatedFlexClusters20241113
86
): CallToolResult {
87
+ // Check if both traditional clusters and flex clusters are absent
88
if (!clusters?.results?.length && !flexClusters?.results?.length) {
89
throw new Error("No clusters found.");
90
}
0 commit comments