Skip to content

Commit ccb61ac

Browse files
committed
Revert change
1 parent 39cc667 commit ccb61ac

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

src/tools/atlas/connect/connectCluster.ts

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -57,19 +57,6 @@ export class ConnectClusterTool extends AtlasToolBase {
5757
"atlas-connect-cluster",
5858
`error querying cluster: ${error.message}`
5959
);
60-
61-
// sometimes the error can be "error querying cluster: bad auth : Authentication failed."
62-
// which just means it's still propagating permissions to the cluster
63-
// in that case, we want to classify this as connecting.
64-
if (error.message.includes("Authentication failed")) {
65-
logger.debug(
66-
LogId.atlasConnectFailure,
67-
"atlas-connect-cluster",
68-
`assuming connecting to cluster: ${this.session.connectedAtlasCluster?.clusterName}`
69-
);
70-
return "connecting";
71-
}
72-
7360
return "unknown";
7461
}
7562
}

0 commit comments

Comments
 (0)