mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-01-03 22:52:30 +02:00
Fix typos in comments (#4553)
This commit is contained in:
parent
2a8fddaf58
commit
612208d046
@ -151,7 +151,7 @@ func TestNewConfig(t *testing.T) {
|
||||
for _, tt := range testCases {
|
||||
t.Run(tt.name, func(t *testing.T) {
|
||||
cfg := newConfig(tt.options...)
|
||||
// only check the length of readerOpts, since they are not compareable
|
||||
// only check the length of readerOpts, since they are not comparable
|
||||
assert.Equal(t, len(tt.wantConfig.readerOpts), len(cfg.readerOpts))
|
||||
cfg.readerOpts = nil
|
||||
tt.wantConfig.readerOpts = nil
|
||||
|
@ -74,7 +74,7 @@ type Reader interface {
|
||||
// the SDK and stores it in out. An error is returned if this is called
|
||||
// after Shutdown or if out is nil.
|
||||
//
|
||||
// This method needs to be concurrent safe, and the cancelation of the
|
||||
// This method needs to be concurrent safe, and the cancellation of the
|
||||
// passed context is expected to be honored.
|
||||
Collect(ctx context.Context, rm *metricdata.ResourceMetrics) error
|
||||
// DO NOT CHANGE: any modification will not be backwards compatible and
|
||||
|
Loading…
Reference in New Issue
Block a user