diff options
author | Maksim Denisov <denisov.maksim@huawei.com> | 2024-10-08 11:59:11 +0200 |
---|---|---|
committer | Maksim Denisov <denisov.maksim@huawei.com> | 2024-10-08 15:41:50 +0200 |
commit | 6f03f36201fa79f3802f3235779ec5a451287e21 (patch) | |
tree | 40cd2a46e881be0d5cdbf4de215e8dcedee8ae33 /src/buildtool/execution_api/execution_service/execution_server.cpp | |
parent | a054488f8417a40e22c4e1e0f9738f705785aa9e (diff) | |
download | justbuild-6f03f36201fa79f3802f3235779ec5a451287e21.tar.gz |
Name static constants using kCamelCase.
Diffstat (limited to 'src/buildtool/execution_api/execution_service/execution_server.cpp')
-rw-r--r-- | src/buildtool/execution_api/execution_service/execution_server.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/buildtool/execution_api/execution_service/execution_server.cpp b/src/buildtool/execution_api/execution_service/execution_server.cpp index 6f77ba3f..1b416ec8 100644 --- a/src/buildtool/execution_api/execution_service/execution_server.cpp +++ b/src/buildtool/execution_api/execution_service/execution_server.cpp @@ -176,9 +176,9 @@ auto ExecutionServiceImpl::Execute( auto const lock = GarbageCollector::SharedLock(storage_config_); if (not lock) { - static constexpr auto str = "Could not acquire SharedLock"; - logger_.Emit(LogLevel::Error, "{}", str); - return grpc::Status{grpc::StatusCode::INTERNAL, str}; + static constexpr auto kStr = "Could not acquire SharedLock"; + logger_.Emit(LogLevel::Error, "{}", kStr); + return grpc::Status{grpc::StatusCode::INTERNAL, kStr}; } auto action = ToBazelAction(*action_digest, storage_); |