Skip to content

Commit

Permalink
chore: fix some struct names in comment (#6513)
Browse files Browse the repository at this point in the history
<!--
!! Please DELETE this comment before posting.
We appreciate your contribution to the Jaeger project! πŸ‘‹πŸŽ‰
-->

## Which problem is this PR solving?
- <!-- Example: Resolves #123 -->

## Description of the changes

fix some struct names in comment

resubmit for #6253 and
#6509

## How was this change tested?
- 

## Checklist
- [ ] I have read
https://github.com/jaegertracing/jaeger/blob/master/CONTRIBUTING_GUIDELINES.md
- [ ] I have signed all commits
- [ ] I have added unit tests for the new functionality
- [ ] I have run lint and test steps successfully
  - for `jaeger`: `make lint test`
  - for `jaeger-ui`: `npm run lint` and `npm run test`

Signed-off-by: longxiangqiao <[email protected]>
  • Loading branch information
longxiangqiao authored Jan 9, 2025
1 parent acc8b35 commit 980dc31
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmd/collector/app/sanitizer/service_name_sanitizer.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ func NewServiceNameSanitizer(c cache.Cache) SanitizeSpan {
return sanitizer.Sanitize
}

// ServiceNameSanitizer sanitizes the service names in span annotations given a source of truth alias to service cache.
// serviceNameSanitizer sanitizes the service names in span annotations given a source of truth alias to service cache.
type serviceNameSanitizer struct {
cache cache.Cache
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/es/client/index_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ type Alias struct {
Index string
// Alias name.
Name string
// IsWritedIndex option
// IsWriteIndex option
IsWriteIndex bool
}

Expand Down
2 changes: 1 addition & 1 deletion storage_v2/tracestore/writer.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

// Writer writes spans to storage.
type Writer interface {
// WriteTrace writes a batch of spans to storage. Idempotent.
// WriteTraces writes a batch of spans to storage. Idempotent.
// Implementations are not required to support atomic transactions,
// so if any of the spans fail to be written an error is returned.
// Compatible with OTLP Exporter API.
Expand Down

0 comments on commit 980dc31

Please sign in to comment.