Skip to content

Commit 6f2ab22

Browse files
committed
fix: make ip changes smooth
1 parent 61df0df commit 6f2ab22

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/tools/atlas/create/createFreeCluster.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,10 @@ export class CreateFreeClusterTool extends AtlasToolBase {
4747
});
4848

4949
return {
50-
content: [{ type: "text", text: `Cluster "${name}" has been created in region "${region}".` }],
50+
content: [
51+
{ type: "text", text: `Cluster "${name}" has been created in region "${region}".` },
52+
{ type: "text", text: `Double check your access lists to enable your current IP.` },
53+
],
5154
};
5255
}
5356
}

tests/integration/tools/atlas/clusters.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ describeWithAtlas("clusters", (integration) => {
8484
},
8585
})) as CallToolResult;
8686
expect(response.content).toBeArray();
87-
expect(response.content).toHaveLength(1);
87+
expect(response.content).toHaveLength(2);
8888
expect(response.content[0].text).toContain("has been created");
8989
});
9090
});

0 commit comments

Comments
 (0)