mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-21 01:00:48 +00:00
Merge pull request #34222 from ClickHouse/add-const-in-grpc-server
Add const to make clang-tidy happy
This commit is contained in:
commit
c3a68561dc
@ -754,7 +754,7 @@ namespace
|
||||
|
||||
// Parse the OpenTelemetry traceparent header.
|
||||
ClientInfo client_info = session->getClientInfo();
|
||||
auto & client_metadata = responder->grpc_context.client_metadata();
|
||||
const auto & client_metadata = responder->grpc_context.client_metadata();
|
||||
auto traceparent = client_metadata.find("traceparent");
|
||||
if (traceparent != client_metadata.end())
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user