From 14df2ed720a2f9b626bb2d4160d564298e08657a Mon Sep 17 00:00:00 2001 From: macastelaz <34776182+macastelaz@users.noreply.github.com> Date: Mon, 1 Jun 2026 20:47:49 +0000 Subject: [PATCH] Automated change: Fix sanity tests --- .../credentials/call/regional_access_boundary_fetcher.cc | 2 +- .../call/regional_access_boundary_fetcher_test.cc | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/core/credentials/call/regional_access_boundary_fetcher.cc b/src/core/credentials/call/regional_access_boundary_fetcher.cc index ff8a180c2220b..9c967412ca724 100644 --- a/src/core/credentials/call/regional_access_boundary_fetcher.cc +++ b/src/core/credentials/call/regional_access_boundary_fetcher.cc @@ -335,7 +335,7 @@ void EmailFetcher::Fetch(absl::string_view token, MutexLock lock(&mu_); auto* rab_fetcher = std::get_if>(&state_); - if (rab_fetcher == nullptr) return; // Don't yet have RAB fetcher. + if (rab_fetcher == nullptr) return; // Don't yet have RAB fetcher. if (*rab_fetcher == nullptr) return; // Shouldn't happen, but be defensive. (*rab_fetcher)->Fetch(token, initial_metadata); } diff --git a/test/core/credentials/call/regional_access_boundary_fetcher_test.cc b/test/core/credentials/call/regional_access_boundary_fetcher_test.cc index b6c6e3c429c7f..37492525b2136 100644 --- a/test/core/credentials/call/regional_access_boundary_fetcher_test.cc +++ b/test/core/credentials/call/regional_access_boundary_fetcher_test.cc @@ -718,9 +718,8 @@ TEST_F(EmailFetcherTest, EarlyDestructionDoesNotCrash) { } } -int httpcli_get_spiffe_id(const grpc_http_request* /*request*/, - const URI& uri, Timestamp /*deadline*/, - grpc_closure* on_done, +int httpcli_get_spiffe_id(const grpc_http_request* /*request*/, const URI& uri, + Timestamp /*deadline*/, grpc_closure* on_done, grpc_http_response* response) { if (uri.path() == "/computeMetadata/v1/instance/service-accounts/default/email") {