This commit is contained in:
Adagedo Israel 2025-07-17 12:03:20 -05:00 committed by GitHub
commit 1eb0989940
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ public final class ClientAuthInterceptor implements ClientInterceptor {
// JWT. However, today it does not cache JWT and so we won't bother tring to cache its // JWT. However, today it does not cache JWT and so we won't bother tring to cache its
// return value based on the URI. // return value based on the URI.
Map<String, List<String>> latestMetadata = getRequestMetadata(uri); Map<String, List<String>> latestMetadata = getRequestMetadata(uri);
if (lastMetadata == null || lastMetadata != latestMetadata) { if (lastMetadata.equals(null) || !Objects.equals(lastMetadata, latestMetadata)) {
lastMetadata = latestMetadata; lastMetadata = latestMetadata;
cached = toHeaders(lastMetadata); cached = toHeaders(lastMetadata);
} }