We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5b11afc + c60fb6a commit 6e16b36Copy full SHA for 6e16b36
1 file changed
src/main/java/couchbase/sdk/SharedClusterManager.java
@@ -56,6 +56,7 @@ private static void initializeSharedEnvironment() {
56
* Get or create a shared Cluster instance for the given server connection
57
*/
58
public static synchronized Cluster getCluster(Server server) throws AuthenticationFailureException {
59
+ initializeSharedEnvironment();
60
String clusterKey = getClusterKey(server);
61
62
ClusterWrapper wrapper = clusterMap.get(clusterKey);
0 commit comments