From 91ba464409894c0215e54f086722309b9634d6f2 Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Wed, 22 Feb 2023 15:15:43 +0100 Subject: cleanup: Fix typos in code line comments and logging messages --- src/buildtool/execution_api/remote/bazel/bazel_ac_client.hpp | 2 +- src/buildtool/execution_api/remote/bazel/bazel_cas_client.hpp | 6 +++--- src/buildtool/execution_api/remote/bazel/bazel_execution_client.hpp | 2 +- src/buildtool/execution_api/remote/config.hpp | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src/buildtool/execution_api/remote') diff --git a/src/buildtool/execution_api/remote/bazel/bazel_ac_client.hpp b/src/buildtool/execution_api/remote/bazel/bazel_ac_client.hpp index c9914e77..fd0e79cb 100644 --- a/src/buildtool/execution_api/remote/bazel/bazel_ac_client.hpp +++ b/src/buildtool/execution_api/remote/bazel/bazel_ac_client.hpp @@ -25,7 +25,7 @@ #include "src/buildtool/execution_api/remote/config.hpp" #include "src/buildtool/logging/logger.hpp" -/// Implements client side for serivce defined here: +/// Implements client side for service defined here: /// https://github.com/bazelbuild/bazel/blob/4b6ad34dbba15dacebfb6cbf76fa741649cdb007/third_party/remoteapis/build/bazel/remote/execution/v2/remote_execution.proto#L137 class BazelAcClient { public: diff --git a/src/buildtool/execution_api/remote/bazel/bazel_cas_client.hpp b/src/buildtool/execution_api/remote/bazel/bazel_cas_client.hpp index bcf6df7e..23a7b4d8 100644 --- a/src/buildtool/execution_api/remote/bazel/bazel_cas_client.hpp +++ b/src/buildtool/execution_api/remote/bazel/bazel_cas_client.hpp @@ -57,7 +57,7 @@ class BazelCasClient { /// \param[in] instance_name Name of the CAS instance /// \param[in] begin Start of the blobs to upload /// \param[in] end End of the blobs to upload - /// \returns The digests of blobs sucessfully updated + /// \returns The digests of blobs successfully updated [[nodiscard]] auto BatchUpdateBlobs( std::string const& instance_name, std::vector::const_iterator const& begin, @@ -68,7 +68,7 @@ class BazelCasClient { /// \param[in] instance_name Name of the CAS instance /// \param[in] begin Start of the blobs to upload /// \param[in] end End of the blobs to upload - /// \returns The digests of blobs sucessfully updated + /// \returns The digests of blobs successfully updated [[nodiscard]] auto BatchUpdateBlobs( std::string const& instance_name, BlobContainer::iterator const& begin, @@ -79,7 +79,7 @@ class BazelCasClient { /// \param[in] instance_name Name of the CAS instance /// \param[in] begin Start of the blobs to upload /// \param[in] end End of the blobs to upload - /// \returns The digests of blobs sucessfully updated + /// \returns The digests of blobs successfully updated [[nodiscard]] auto BatchUpdateBlobs( std::string const& instance_name, BlobContainer::RelatedBlobList::iterator const& begin, diff --git a/src/buildtool/execution_api/remote/bazel/bazel_execution_client.hpp b/src/buildtool/execution_api/remote/bazel/bazel_execution_client.hpp index 480caf9c..a528eecb 100644 --- a/src/buildtool/execution_api/remote/bazel/bazel_execution_client.hpp +++ b/src/buildtool/execution_api/remote/bazel/bazel_execution_client.hpp @@ -26,7 +26,7 @@ #include "src/buildtool/execution_api/remote/config.hpp" #include "src/buildtool/logging/logger.hpp" -/// Implements client side for serivce defined here: +/// Implements client side for service defined here: /// https://github.com/bazelbuild/bazel/blob/4b6ad34dbba15dacebfb6cbf76fa741649cdb007/third_party/remoteapis/build/bazel/remote/execution/v2/remote_execution.proto#L42 class BazelExecutionClient { public: diff --git a/src/buildtool/execution_api/remote/config.hpp b/src/buildtool/execution_api/remote/config.hpp index 0d674220..b37e9f73 100644 --- a/src/buildtool/execution_api/remote/config.hpp +++ b/src/buildtool/execution_api/remote/config.hpp @@ -119,7 +119,7 @@ class RemoteExecutionConfig { // Server address of cache endpoint for rebuild. std::optional cache_address_{}; - // Platform properies for execution. + // Platform properties for execution. std::map platform_properties_{}; [[nodiscard]] static auto ParseAddress(std::string const& address) noexcept -- cgit v1.2.3