Skip to content

Commit 24cb38a

Browse files
authored
Fix typo in Postgres Socket Factory class name (GoogleCloudPlatform#7250)
1 parent 168d8ae commit 24cb38a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cloud-sql/postgres/servlet/src/main/java/com/example/cloudsql/ConnectorIamAuthnConnectionPoolFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public static DataSource createConnectionPool() {
4646
// Configure which instance and what database to connect with.
4747
config.setJdbcUrl(String.format("jdbc:postgresql:///%s", DB_NAME));
4848

49-
config.addDataSourceProperty("socketFactory", "com.google.cloud.sql_postgres.SocketFactory");
49+
config.addDataSourceProperty("socketFactory", "com.google.cloud.sql.postgres.SocketFactory");
5050
config.addDataSourceProperty("cloudSqlInstance", INSTANCE_CONNECTION_NAME);
5151

5252
// If connecting using automatic database authentication, follow the instructions for

0 commit comments

Comments
 (0)