We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ed924a commit 106084fCopy full SHA for 106084f
core/src/main/java/tech/ydb/core/impl/YdbTransportImpl.java
@@ -126,7 +126,7 @@ static EndpointRecord getDiscoveryEndpoint(GrpcTransportBuilder builder) {
126
+ "endpoint " + builder.getEndpoint() + " and empty host " + builder.getHost());
127
}
128
129
- if (endpointURI.getPort() == -1) {
+ if (endpointURI.getPort() < 0) {
130
throw new IllegalArgumentException("Can't create discovery rpc, port is not specified for "
131
+ "endpoint " + builder.getEndpoint());
132
0 commit comments