Skip to content

Commit f63a5fa

Browse files
committed
debugging
1 parent 9000b8a commit f63a5fa

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

cloud-sql/sqlserver/tedious/ci-setup.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"INSTANCE_UNIX_SOCKET": "$UNIX_SOCKET_DIR/$INSTANCE_CONNECTION_NAME",
88
"DB_NAME": "kokoro_ci",
99
"DB_USER": "kokoro_ci",
10-
"PRIVATE_IP": "1"
10+
"PRIVATE_IP": "true"
1111
},
1212
"secrets": {
1313
"DB_PASS": "nodejs-docs-samples-tests/nodejs-docs-samples-sql-password"

cloud-sql/sqlserver/tedious/connect-tcp.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ const connectWithTcpSocket = async config => {
4848
// using the Cloud SQL Proxy, configure encrypted connection.
4949
if (process.env.PRIVATE_IP === '1' || process.env.PRIVATE_IP === 'true') {
5050
dbConfig.options.encrypt = true;
51+
dbConfig.options.private = true;
5152
}
5253

5354
// [START cloud_sql_sqlserver_tedious_connect_tcp]

0 commit comments

Comments
 (0)