Skip to content

Commit 52b80f4

Browse files
Tensorstore Teamcopybara-github
authored andcommitted
No public description
PiperOrigin-RevId: 816113953 Change-Id: Id1d62087451cb9f10bab9a0ed224069d5a9f59a6
1 parent 2e9c4ef commit 52b80f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tensorstore/internal/grpc/server_credentials.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const internal::ContextResourceRegistration<GrpcServerCredentials>
4242

4343
std::shared_ptr<internal_grpc::ServerAuthenticationStrategy>
4444
GrpcServerCredentials::Resource::GetAuthenticationStrategy() {
45-
absl::MutexLock l(&credentials_mu);
45+
absl::MutexLock l(credentials_mu);
4646
if (strategy_) return strategy_;
4747
return internal_grpc::CreateInsecureServerAuthenticationStrategy();
4848
}
@@ -62,7 +62,7 @@ bool GrpcServerCredentials::Use(
6262
tensorstore::Context context,
6363
std::shared_ptr<internal_grpc::ServerAuthenticationStrategy> credentials) {
6464
auto resource = context.GetResource<GrpcServerCredentials>().value();
65-
absl::MutexLock l(&credentials_mu);
65+
absl::MutexLock l(credentials_mu);
6666
bool result = (resource->strategy_ == nullptr);
6767
resource->strategy_ = std::move(credentials);
6868
return result;

0 commit comments

Comments
 (0)