Skip to content

Commit 15686bc

Browse files
committed
chore: fix some struct names in comment
Signed-off-by: longxiangqiao <longxiangqiao@qq.com>
1 parent b3be011 commit 15686bc

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

cmd/collector/app/sanitizer/service_name_sanitizer.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ func NewServiceNameSanitizer(c cache.Cache) SanitizeSpan {
1515
return sanitizer.Sanitize
1616
}
1717

18-
// ServiceNameSanitizer sanitizes the service names in span annotations given a source of truth alias to service cache.
18+
// serviceNameSanitizer sanitizes the service names in span annotations given a source of truth alias to service cache.
1919
type serviceNameSanitizer struct {
2020
cache cache.Cache
2121
}

pkg/es/client/index_client.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ type Alias struct {
2929
Index string
3030
// Alias name.
3131
Name string
32-
// IsWritedIndex option
32+
// IsWriteIndex option
3333
IsWriteIndex bool
3434
}
3535

storage_v2/tracestore/writer.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111

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

0 commit comments

Comments
 (0)