Skip to content

Commit

Permalink
chore: Removing unnecessary and potentially confusing credential warn…
Browse files Browse the repository at this point in the history
…ing message (googleapis#11303)
  • Loading branch information
ldetmer authored Nov 22, 2024
1 parent b52d06b commit 369183d
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -161,10 +161,6 @@ private TranslateOptions(Builder builder) {
} else if (builder.apiKey != null) {
credentials = null;
apiKey = builder.apiKey;
logger.log(
Level.WARNING,
"Ignoring Application Default Credentials {0}: using explicit setting for API key instead.",
ServiceOptions.CREDENTIAL_ENV_NAME);
} else if (credentials != null) { // credentials assigned from ADC in superclass constructor
apiKey = null;
if (getDefaultApiKey() != null) {
Expand Down

0 comments on commit 369183d

Please sign in to comment.