Skip to content

Commit

Permalink
7
Browse files Browse the repository at this point in the history
  • Loading branch information
xinyiZzz committed Nov 3, 2024
1 parent dad6f91 commit d25c6e4
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,6 @@ private FlightInfo executeQueryStatement(String peerIdentity, ConnectContext con
// TODO Support multiple endpoints.
Location location;
if (flightSQLConnectProcessor.getPublicAccessAddr().isSetHostname()) {
Preconditions.checkState(flightSQLConnectProcessor.getPublicAccessAddr().isSetPort());
location = Location.forGrpcInsecure(flightSQLConnectProcessor.getPublicAccessAddr().hostname,
flightSQLConnectProcessor.getPublicAccessAddr().port);
} else {
Expand Down

0 comments on commit d25c6e4

Please sign in to comment.