Skip to content

Commit

Permalink
fixes spellcheck
Browse files Browse the repository at this point in the history
Signed-off-by: Rex Chang <58710378+rexnp@users.noreply.github.com>
  • Loading branch information
rexnp committed Mar 2, 2022
1 parent 491abf1 commit 5be2062
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/extensions/tracers/xray/daemon.proto
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ message Segment {
}
// Object containing one or more fields that X-Ray indexes for use with filter expressions.
map<string, string> annotations = 8;
// Set type to "subsegment" when sending a child span so Xray treats it as a subsegment.
// Set type to "subsegment" when sending a child span so XRay treats it as a subsegment.
// https://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html#api-segmentdocuments-subsegments
string type = 14;
}
Expand Down
2 changes: 1 addition & 1 deletion source/extensions/tracers/xray/tracer.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ class Span : public Tracing::Span, Logger::Loggable<Logger::Id::config> {
}

/**
* Sets the type of the Span. In Xray, an independent subsegment has a type of "subsegment".
* Sets the type of the Span. In XRay, an independent subsegment has a type of "subsegment".
* https://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html#api-segmentdocuments-subsegments
*/
void setType(absl::string_view type) { type_ = std::string(type); }
Expand Down

0 comments on commit 5be2062

Please sign in to comment.