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 13, 2024
1 parent f118fc5 commit f2827f6
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 f2827f6

Please sign in to comment.