File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
tensorstore/internal/grpc Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ const internal::ContextResourceRegistration<GrpcServerCredentials>
4242
4343std::shared_ptr<internal_grpc::ServerAuthenticationStrategy>
4444GrpcServerCredentials::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;
You can’t perform that action at this time.
0 commit comments