-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: Use Java Auth Library's GDU constant #2340
Conversation
Depends on: #2341 to bump in the |
e103591
to
cbe3707
Compare
|
|
@@ -200,7 +200,7 @@ private String determineEndpoint() throws IOException { | |||
|
|||
// Check if mTLS is configured with non-GDU | |||
if (endpoint.equals(mtlsEndpoint()) | |||
&& !resolvedUniverseDomain().equals(GOOGLE_DEFAULT_UNIVERSE)) { | |||
&& !resolvedUniverseDomain().equals(Credentials.GOOGLE_DEFAULT_UNIVERSE)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I might missed this in earlier PRs, since we only set resolvedUniverseDomain later, resolvedUniverseDomain()
is always null here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Never mind, resolvedUniverseDomain
was already set in previous steps. It's still good to move Credentials.GOOGLE_DEFAULT_UNIVERSE
to the left of the equals method though.
No description provided.