Skip to content

Commit

Permalink
Fix typos.
Browse files Browse the repository at this point in the history
Signed-off-by: blake-snyder <[email protected]>
  • Loading branch information
blake-snyder committed Oct 4, 2024
1 parent 48216cc commit 4ce0405
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/common/orca/orca_parser.cc
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ absl::Status tryParseSerializedBinary(const absl::string_view header,
absl::StatusOr<OrcaLoadReport> parseOrcaLoadReportHeaders(const HeaderMap& headers) {
OrcaLoadReport load_report;

// Binary protobuf format. Lagacy header from gRPC implementation.
// Binary protobuf format. Legacy header from gRPC implementation.
if (const auto header_bin = headers.get(endpointLoadMetricsHeaderBin()); !header_bin.empty()) {
const auto header_value = header_bin[0]->value().getStringView();
RETURN_IF_NOT_OK(tryParseSerializedBinary(header_value, load_report));
Expand Down
2 changes: 1 addition & 1 deletion test/common/orca/orca_parser_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ TEST(OrcaParserUtilTest, JsonHeaderIncorrectFieldType) {

TEST(OrcaParserUtilTest, LegacyBinaryHeader) {
// Verify processing of headers sent in legacy ORCA header inherited from gRPC
// implmentation works as intended.
// implementation works as intended.
const std::string proto_string =
TestUtility::getProtobufBinaryStringFromMessage(exampleOrcaLoadReport());
const auto orca_load_report_header_bin =
Expand Down

0 comments on commit 4ce0405

Please sign in to comment.