Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ void EmailFetcher::Fetch(absl::string_view token,
MutexLock lock(&mu_);
auto* rab_fetcher =
std::get_if<RefCountedPtr<RegionalAccessBoundaryFetcher>>(&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);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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") {
Expand Down