Skip to content

Commit 4ed4cc6

Browse files
committed
fix: var name
1 parent b8eb3ac commit 4ed4cc6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tools/atlas/read/inspectCluster.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,15 @@ export class InspectClusterTool extends AtlasToolBase {
5454

5555
const instanceSize = (regionConfigs.length <= 0 ? undefined : regionConfigs[0].instanceSize) || "UNKNOWN";
5656

57-
const clusterInstaceType = instanceSize == "M0" ? "FREE" : "DEDICATED";
57+
const clusterInstanceType = instanceSize == "M0" ? "FREE" : "DEDICATED";
5858

5959
return {
6060
content: [
6161
{
6262
type: "text",
6363
text: `Cluster Name | Cluster Type | Tier | State | MongoDB Version | Connection String
6464
----------------|----------------|----------------|----------------|----------------|----------------
65-
${cluster.name} | ${clusterInstaceType} | ${clusterInstaceType == "DEDICATED" ? instanceSize : "N/A"} | ${cluster.stateName} | ${cluster.mongoDBVersion || "N/A"} | ${cluster.connectionStrings?.standardSrv || cluster.connectionStrings?.standard || "N/A"}`,
65+
${cluster.name} | ${clusterInstanceType} | ${clusterInstanceType == "DEDICATED" ? instanceSize : "N/A"} | ${cluster.stateName} | ${cluster.mongoDBVersion || "N/A"} | ${cluster.connectionStrings?.standardSrv || cluster.connectionStrings?.standard || "N/A"}`,
6666
},
6767
],
6868
};

0 commit comments

Comments
 (0)