Skip to content
This repository was archived by the owner on Jul 6, 2023. It is now read-only.

Commit 2e3a853

Browse files
committed
Support bolt+routing
1 parent 8766fdf commit 2e3a853

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

cypher-shell/src/main/java/org/neo4j/shell/ConnectionConfig.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,6 @@ public ConnectionConfig(@Nonnull Logger logger, @Nonnull String scheme, @Nonnull
2121
this.username = fallbackToEnvVariable(username, "NEO4J_USERNAME");
2222
this.password = fallbackToEnvVariable(password, "NEO4J_PASSWORD");
2323
this.encryption = encryption ? Config.EncryptionLevel.REQUIRED : Config.EncryptionLevel.NONE;
24-
25-
if ("bolt+routing://".equalsIgnoreCase(scheme)) {
26-
logger.printError(
27-
AnsiFormattedText.s()
28-
.colorRed()
29-
.append("Routing is not supported by cypher-shell. Falling back to direct connection.")
30-
.formattedString());
31-
scheme = "bolt://";
32-
}
3324
this.scheme = scheme;
3425
}
3526

0 commit comments

Comments
 (0)