Skip to content

Commit

Permalink
feat(spanner): fixed redundant class name typo
Browse files Browse the repository at this point in the history
  • Loading branch information
sagnghos committed Dec 11, 2024
1 parent 325bdb6 commit a24b6f0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1005,7 +1005,7 @@ static String determineHost(
// The leading '//' is already included in the regex for the connection URL, so we don't need
// to add the leading '//' to the host name here.
host = matcher.group(Builder.HOST_GROUP);
if (ConnectionOptions.Builder.EXTERNAL_HOST_FORMAT.equals(matcher.pattern().pattern())
if (Builder.EXTERNAL_HOST_FORMAT.equals(matcher.pattern().pattern())
&& !host.matches(".*:\\d+$")) {
host = String.format("%s:15000", host);
}
Expand Down

0 comments on commit a24b6f0

Please sign in to comment.