Skip to content

Commit 8996e36

Browse files
authored
fix(go/adbc/driver/bigquery): accept old auth option value (#3317)
Fix a regression.
1 parent 5fc8ca6 commit 8996e36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

go/adbc/driver/bigquery/connection.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ func (c *connectionImpl) newClient(ctx context.Context) error {
581581
}
582582
}
583583
authOptions = append(authOptions, option.WithTokenSource(c))
584-
case OptionValueAuthTypeAppDefaultCredentials, "":
584+
case OptionValueAuthTypeAppDefaultCredentials, OptionValueAuthTypeDefault, "":
585585
// Use Application Default Credentials (default behavior)
586586
// No additional options needed - ADC is used by default
587587
default:

0 commit comments

Comments
 (0)